OpenCloudOS-Kernel/drivers/crypto/keembay
Mike Healy 8857433245 crypto: keembay - Add support for Keem Bay OCS AES/SM4
Add support for the AES/SM4 crypto engine included in the Offload and
Crypto Subsystem (OCS) of the Intel Keem Bay SoC, thus enabling
hardware-acceleration for the following transformations:

- ecb(aes), cbc(aes), ctr(aes), cts(cbc(aes)), gcm(aes) and cbc(aes);
  supported for 128-bit and 256-bit keys.

- ecb(sm4), cbc(sm4), ctr(sm4), cts(cbc(sm4)), gcm(sm4) and cbc(sm4);
  supported for 128-bit keys.

The driver passes crypto manager self-tests, including the extra tests
(CRYPTO_MANAGER_EXTRA_TESTS=y).

Signed-off-by: Mike Healy <mikex.healy@intel.com>
Co-developed-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Acked-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-12-11 21:12:05 +11:00
..
Kconfig crypto: keembay - Add support for Keem Bay OCS AES/SM4 2020-12-11 21:12:05 +11:00
Makefile crypto: keembay - Add support for Keem Bay OCS AES/SM4 2020-12-11 21:12:05 +11:00
keembay-ocs-aes-core.c crypto: keembay - Add support for Keem Bay OCS AES/SM4 2020-12-11 21:12:05 +11:00
ocs-aes.c crypto: keembay - Add support for Keem Bay OCS AES/SM4 2020-12-11 21:12:05 +11:00
ocs-aes.h crypto: keembay - Add support for Keem Bay OCS AES/SM4 2020-12-11 21:12:05 +11:00