summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2022-02-04 16:59:05 +0300
committerNicolas Ferre <nicolas.ferre@microchip.com>2022-02-24 21:54:17 +0300
commitc1deb3392cda28c93a31048bff76ef0fd350a3b3 (patch)
treecf7caa010409f35075b1d18a88e60fa931ed894a /arch/arm
parent9437a3c8abd77d4d0ac8131a6f9db493b569b2d4 (diff)
downloadlinux-c1deb3392cda28c93a31048bff76ef0fd350a3b3.tar.xz
ARM: configs: at91: sama7: Enable crypto IPs and software algs
Similar to sama5_defconfig, enable hardware acceleration for the sama7 crypto IPs, enable crypto software implementations in case the crypto IPs need a fallback to them, and enable the hash and skcipher user interfaces in case one wants to offload the crypto algs to the sama7 crypto IPs. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Link: https://lore.kernel.org/r/20220204135905.512013-1-tudor.ambarus@microchip.com
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/configs/sama7_defconfig14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
index c12278174579..d6e27b837f88 100644
--- a/arch/arm/configs/sama7_defconfig
+++ b/arch/arm/configs/sama7_defconfig
@@ -196,7 +196,19 @@ CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
CONFIG_LSM="N"
-# CONFIG_CRYPTO_HW is not set
+CONFIG_CRYPTO_AUTHENC=y
+CONFIG_CRYPTO_GCM=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_CFB=y
+CONFIG_CRYPTO_OFB=y
+CONFIG_CRYPTO_XTS=y
+CONFIG_CRYPTO_SHA1=y
+CONFIG_CRYPTO_DES=y
+CONFIG_CRYPTO_USER_API_HASH=m
+CONFIG_CRYPTO_USER_API_SKCIPHER=m
+CONFIG_CRYPTO_DEV_ATMEL_AES=y
+CONFIG_CRYPTO_DEV_ATMEL_TDES=y
+CONFIG_CRYPTO_DEV_ATMEL_SHA=y
CONFIG_CRC_CCITT=y
CONFIG_CRC_ITU_T=y
CONFIG_DMA_CMA=y