Skip to content

Support new function in new CCPs

Gary R Hook linux-crypto 3 versions – In review

Get series with b4
b4 am 20170315182014.29335.93268.stgit@taos

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 1 replySuperseded

Changes in v3 from the cover letter

- Correct a comment in the GCM support code.
- Ensure the patches apply to the current repo

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: ccp - Add SHA-2 384- and 512-bit supportdrivers/crypto/ccp/ccp-crypto-sha.c drivers/crypto/ccp/ccp-crypto.h drivers/crypto/ccp/ccp-ops.c +1 more+101 -30 replies
2/3crypto: ccp - Enable 3DES function on v5 CCPsdrivers/crypto/ccp/Makefile drivers/crypto/ccp/ccp-crypto-des3.c drivers/crypto/ccp/ccp-crypto-main.c +6 more+608 -30 replies
3/3crypto: ccp - Enable support for AES GCM on v5 CCPsdrivers/crypto/ccp/Makefile drivers/crypto/ccp/ccp-crypto-aes-galois.c drivers/crypto/ccp/ccp-crypto-main.c +3 more+540 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH V3 0/3] Support new function in new CCPs

The following series implements new function in a version 5 coprocessor. New features are:
- Support for SHA-2 384-bit and 512-bit hashing
- Support for 3DES encryption
- Support for AES GCM encryption

Changes from V2:
- Correct a comment in the GCM support code.
- Ensure the patches apply to the current repo

Changes from V1:
- Ensure the patches build correctly

---

Gary R Hook (3):
crypto: ccp - Add SHA-2 384- and 512-bit support
crypto: ccp - Enable 3DES function on v5 CCPs
crypto: ccp - Enable support for AES GCM on v5 CCPs

 drivers/crypto/ccp/Makefile                |    2 
 drivers/crypto/ccp/ccp-crypto-aes-galois.c |  252 ++++++++++++++
 drivers/crypto/ccp/ccp-crypto-des3.c       |  254 ++++++++++++++
 drivers/crypto/ccp/ccp-crypto-main.c       |   22 +
 drivers/crypto/ccp/ccp-crypto-sha.c        |   22 +
 drivers/crypto/ccp/ccp-crypto.h            |   44 ++
 drivers/crypto/ccp/ccp-dev-v3.c            |    1 
 drivers/crypto/ccp/ccp-dev-v5.c            |   54 +++
 drivers/crypto/ccp/ccp-dev.h               |   14 +
 drivers/crypto/ccp/ccp-ops.c               |  522 ++++++++++++++++++++++++++++
 include/linux/ccp.h                        |   68 ++++
 11 files changed, 1249 insertions(+), 6 deletions(-)
 create mode 100644 drivers/crypto/ccp/ccp-crypto-aes-galois.c
 create mode 100644 drivers/crypto/ccp/ccp-crypto-des3.c