linux-stable/drivers/crypto/inside-secure
Peter Harliman Liem 320406cb60 crypto: inside-secure - Replace generic aes with libaes
Commit 363a90c2d5 ("crypto: safexcel/aes - switch to
library version of key expansion routine") removed
CRYPTO_AES in the config. However, some portions of codes
still rely on generic AES cipher (e.g. refer to
safexcel_aead_gcm_cra_init(), safexcel_xcbcmac_cra_init()).
This causes transform allocation failure for those algos,
if CRYPTO_AES is not manually enabled.

To resolve that, we replace all existing AES cipher
dependent codes with their AES library counterpart.

Fixes: 363a90c2d5 ("crypto: safexcel/aes - switch to library version of key expansion routine")
Signed-off-by: Peter Harliman Liem <pliem@maxlinear.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-09-24 16:14:43 +08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
safexcel.c crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of 2022-07-29 18:28:54 +08:00
safexcel.h crypto: inside-secure - fix packed bit-field result descriptor 2022-07-08 15:21:17 +08:00
safexcel_cipher.c crypto: inside-secure - Replace generic aes with libaes 2022-09-24 16:14:43 +08:00
safexcel_hash.c crypto: inside-secure - Replace generic aes with libaes 2022-09-24 16:14:43 +08:00
safexcel_ring.c crypto: inside-secure - Prevent missing of processing errors 2020-09-18 17:20:10 +10:00