linux/drivers/crypto
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
..
allwinner crypto: sun8i-ce - fix two error path's memory leak 2020-11-20 14:45:34 +11:00
amcc crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
amlogic crypto: amlogic - Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-25 17:48:16 +10:00
axis crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
bcm crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
caam crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
cavium crypto: cpt - Fix sparse warnings in cptpf 2020-12-04 18:13:15 +11:00
ccp crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
ccree crypto: ccree - rework cache parameters handling 2020-11-27 17:13:49 +11:00
chelsio crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
hisilicon crypto: hisilicon/trng - add support for PRNG 2020-11-27 17:13:43 +11:00
inside-secure crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
keembay crypto: keembay - Add support for Keem Bay OCS AES/SM4 2020-12-11 21:12:05 +11:00
marvell crypto: marvell/octeontx - Use dma_set_mask_and_coherent to simplify code 2020-11-27 17:13:48 +11:00
mediatek crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
nx crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
qat crypto: qat - fix excluded_middle.cocci warnings 2020-11-27 17:13:41 +11:00
qce crypto: qce - Fix SHA result buffer corruption issues 2020-11-27 17:13:40 +11:00
rockchip crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
stm32 crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
ux500 crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
virtio crypto: virtio - don't use 'default m' 2020-08-21 14:47:50 +10:00
vmx
xilinx crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel-aes - convert to use be32_add_cpu() 2020-09-25 17:48:12 +10:00
atmel-authenc.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
atmel-ecc.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
atmel-sha204a.c
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel-tdes - use semicolons rather than commas to separate statements 2020-10-02 18:02:15 +10:00
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c crypto: drivers - use semicolons rather than commas to separate statements 2020-10-02 18:02:15 +10:00
img-hash.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
ixp4xx_crypto.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +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
mxs-dcp.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
n2_asm.S
n2_core.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
n2_core.h
omap-aes-gcm.c
omap-aes.c crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe 2020-11-20 14:45:34 +11:00
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
padlock-aes.c crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
padlock-sha.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
picoxcell_crypto.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
picoxcell_crypto_regs.h
qcom-rng.c crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
s5p-sss.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
sa2ul.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
sa2ul.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
sahara.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
talitos.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
talitos.h