Skip to contentSkip to conversation

ARM: configs: at91: sama7: Enable crypto IPs and software algs

PATCH In review Tudor Ambarus 2 participants 2 messages Feb 4, 2022 – Feb 24, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/configs/sama7_defconfig | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
arch/arm/configs/sama7_defconfig +13 -1
index c12278174579..d6e27b837f88 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Tudor Ambarus

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.

Queued for 5.18 in at91-defconfig

Regards,
Nicolas

Quoted 29 lines
---
  arch/arm/configs/sama7_defconfig | 14 +++++++++++++-
  1 file changed, 13 insertions(+), 1 deletion(-)
arch/arm/configs/sama7_defconfig +13 -1
index c12278174579..d6e27b837f88 100644
@@ -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
Signature · 1 line
Nicolas Ferre