The following series adds support for XS-AES on version 5 CCPs,
both 128- and 256-bit, and enhances/clarifies/simplifies some
crypto layer code.

Changes since v1:
 - rework the validation of the unit-size; move to a separate patch
 - expand the key buffer to accommodate 256-bit keys
 - use xts_check_key() in the crypto layer

---

Gary R Hook (4):
      crypto: ccp - Add a call to xts_check_key()
      crypto: ccp - Enable XTS-AES-128 support on all CCPs
      crypto: ccp - Rework the unit-size check for XTS-AES
      crypto: ccp - Add XTS-AES-256 support for CCP version 5


 drivers/crypto/ccp/ccp-crypto-aes-xts.c |   98 +++++++++++++++++--------------
 drivers/crypto/ccp/ccp-crypto.h         |    2 -
 drivers/crypto/ccp/ccp-dev-v5.c         |    2 +
 drivers/crypto/ccp/ccp-dev.h            |    2 +
 drivers/crypto/ccp/ccp-ops.c            |   55 +++++++++++++++--
 5 files changed, 106 insertions(+), 53 deletions(-)

--

Reply via email to