Skip to content

Enable full RSA support on CCPs

Gary R Hook linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: ccp - Fix base RSA function for version 5 CCPsdrivers/crypto/ccp/ccp-dev-v5.c drivers/crypto/ccp/ccp-ops.c+64 -411 reply
2/4crypto: Add akcipher_set_reqsize() functioninclude/crypto/internal/akcipher.h+6 -00 replies
3/4crypto: ccp - Add support for RSA on the CCPdrivers/crypto/ccp/Makefile drivers/crypto/ccp/ccp-crypto-main.c drivers/crypto/ccp/ccp-crypto-rsa.c +5 more+341 -33 replies
4/4crypto: ccp - Expand RSA support for a v5 ccpdrivers/crypto/ccp/ccp-crypto-rsa.c drivers/crypto/ccp/ccp-crypto.h drivers/crypto/ccp/ccp-dev-v3.c +3 more+12 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Enable full RSA support on CCPs

The following series enables RSA operations on version 5 devices, adds a set-reqsize function (to provide uniformity with other cipher APIs), implements akcipher enablement in the crypto layer, and makes a tweak for expanded v5 device capabilities.

---

Gary R Hook (4):
crypto: ccp - Fix base RSA function for version 5 CCPs
crypto: Add akcipher_set_reqsize() function
crypto: ccp - Add support for RSA on the CCP
crypto: ccp - Expand RSA support for a v5 ccp

 drivers/crypto/ccp/Makefile          |    1 
 drivers/crypto/ccp/ccp-crypto-main.c |   21 ++
 drivers/crypto/ccp/ccp-crypto-rsa.c  |  289 ++++++++++++++++++++++++++++++++++
 drivers/crypto/ccp/ccp-crypto.h      |   32 ++++
 drivers/crypto/ccp/ccp-debugfs.c     |    1 
 drivers/crypto/ccp/ccp-dev-v3.c      |    1 
 drivers/crypto/ccp/ccp-dev-v5.c      |   12 +
 drivers/crypto/ccp/ccp-dev.c         |    1 
 drivers/crypto/ccp/ccp-dev.h         |    2 
 drivers/crypto/ccp/ccp-ops.c         |   98 +++++++-----
 include/crypto/internal/akcipher.h   |    6 +
 include/linux/ccp.h                  |    1 
 12 files changed, 421 insertions(+), 44 deletions(-)
 create mode 100644 drivers/crypto/ccp/ccp-crypto-rsa.c