From c5731afddfd3554c837a1cfe34ce51c64843ce00 Mon Sep 17 00:00:00 2001 From: Mike Cui Date: Thu, 7 Dec 2023 08:11:30 -0800 Subject: [PATCH] config: enable crypto options for iwd for 802.1x Based on Gentoo Handbook page for iwd: https://wiki.gentoo.org/wiki/Iwd#Kernel --- arch/arm/configs/bcm2709_defconfig | 3 +++ arch/arm/configs/bcm2711_defconfig | 4 ++++ arch/arm/configs/bcmrpi_defconfig | 2 ++ arch/arm64/configs/bcm2711_defconfig | 4 +++- arch/arm64/configs/bcm2712_defconfig | 4 +++- arch/arm64/configs/bcmrpi3_defconfig | 3 +++ 6 files changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/bcm2709_defconfig b/arch/arm/configs/bcm2709_defconfig index a0da75b0ac7af..10e95dd2487d3 100644 --- a/arch/arm/configs/bcm2709_defconfig +++ b/arch/arm/configs/bcm2709_defconfig @@ -1537,6 +1537,7 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_DLM=m +CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY=y CONFIG_SECURITY_APPARMOR=y CONFIG_LSM="" @@ -1547,6 +1548,7 @@ CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_ADIANTUM=m CONFIG_CRYPTO_CHACHA20POLY1305=m CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_LZ4=m @@ -1558,6 +1560,7 @@ CONFIG_CRYPTO_SHA1_ARM_NEON=m CONFIG_CRYPTO_AES_ARM=m CONFIG_CRYPTO_AES_ARM_BS=m # CONFIG_CRYPTO_HW is not set +CONFIG_PKCS8_PRIVATE_KEY_PARSER=m CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y CONFIG_DMA_CMA=y diff --git a/arch/arm/configs/bcm2711_defconfig b/arch/arm/configs/bcm2711_defconfig index 970c64ee0499d..79947db267b0c 100644 --- a/arch/arm/configs/bcm2711_defconfig +++ b/arch/arm/configs/bcm2711_defconfig @@ -1563,16 +1563,19 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_DLM=m +CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY=y CONFIG_SECURITY_APPARMOR=y CONFIG_LSM="" CONFIG_CRYPTO_USER=m +CONFIG_CRYPTO_AES=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_ADIANTUM=m CONFIG_CRYPTO_CHACHA20POLY1305=m CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_LZ4=m @@ -1584,6 +1587,7 @@ CONFIG_CRYPTO_SHA1_ARM_NEON=m CONFIG_CRYPTO_AES_ARM=m CONFIG_CRYPTO_AES_ARM_BS=m # CONFIG_CRYPTO_HW is not set +CONFIG_PKCS8_PRIVATE_KEY_PARSER=m CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y CONFIG_DMA_CMA=y diff --git a/arch/arm/configs/bcmrpi_defconfig b/arch/arm/configs/bcmrpi_defconfig index a40803d26d0d7..73e54d6b33532 100644 --- a/arch/arm/configs/bcmrpi_defconfig +++ b/arch/arm/configs/bcmrpi_defconfig @@ -1529,6 +1529,7 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_DLM=m +CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY=y CONFIG_SECURITY_APPARMOR=y CONFIG_LSM="" @@ -1553,6 +1554,7 @@ CONFIG_CRYPTO_USER_API_AEAD=m CONFIG_CRYPTO_SHA1_ARM=m CONFIG_CRYPTO_AES_ARM=m # CONFIG_CRYPTO_HW is not set +CONFIG_PKCS8_PRIVATE_KEY_PARSER=m CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y CONFIG_DMA_CMA=y diff --git a/arch/arm64/configs/bcm2711_defconfig b/arch/arm64/configs/bcm2711_defconfig index 19cdbcfdb3b69..92fd3aa4ab8e2 100644 --- a/arch/arm64/configs/bcm2711_defconfig +++ b/arch/arm64/configs/bcm2711_defconfig @@ -1615,6 +1615,7 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_DLM=m +CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY=y CONFIG_SECURITY_APPARMOR=y CONFIG_LSM="" @@ -1627,8 +1628,8 @@ CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_ADIANTUM=m CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_CHACHA20POLY1305=m -CONFIG_CRYPTO_HMAC=m CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_LZ4=m @@ -1648,6 +1649,7 @@ CONFIG_CRYPTO_AES_ARM64_BS=m CONFIG_CRYPTO_SM4_ARM64_CE=m CONFIG_CRYPTO_AES_ARM64_CE_CCM=m # CONFIG_CRYPTO_HW is not set +CONFIG_PKCS8_PRIVATE_KEY_PARSER=m CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y CONFIG_DMA_CMA=y diff --git a/arch/arm64/configs/bcm2712_defconfig b/arch/arm64/configs/bcm2712_defconfig index 400fb4e5fc5e0..80e5d8eec94a5 100644 --- a/arch/arm64/configs/bcm2712_defconfig +++ b/arch/arm64/configs/bcm2712_defconfig @@ -1618,6 +1618,7 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_DLM=m +CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY=y CONFIG_SECURITY_APPARMOR=y CONFIG_LSM="" @@ -1630,8 +1631,8 @@ CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_ADIANTUM=m CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_CHACHA20POLY1305=m -CONFIG_CRYPTO_HMAC=m CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_LZ4=m @@ -1651,6 +1652,7 @@ CONFIG_CRYPTO_AES_ARM64_BS=m CONFIG_CRYPTO_SM4_ARM64_CE=m CONFIG_CRYPTO_AES_ARM64_CE_CCM=m # CONFIG_CRYPTO_HW is not set +CONFIG_PKCS8_PRIVATE_KEY_PARSER=m CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y CONFIG_DMA_CMA=y diff --git a/arch/arm64/configs/bcmrpi3_defconfig b/arch/arm64/configs/bcmrpi3_defconfig index 68f5fabf0e627..69de26f2abf62 100644 --- a/arch/arm64/configs/bcmrpi3_defconfig +++ b/arch/arm64/configs/bcmrpi3_defconfig @@ -1515,6 +1515,7 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_DLM=m +CONFIG_KEY_DH_OPERATIONS=y CONFIG_SECURITY=y CONFIG_SECURITY_APPARMOR=y CONFIG_LSM="" @@ -1526,6 +1527,7 @@ CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_ADIANTUM=m CONFIG_CRYPTO_CHACHA20POLY1305=m CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_LZ4=m @@ -1536,6 +1538,7 @@ CONFIG_CRYPTO_USER_API_AEAD=m CONFIG_CRYPTO_AES_ARM64=m CONFIG_CRYPTO_AES_ARM64_BS=m # CONFIG_CRYPTO_HW is not set +CONFIG_PKCS8_PRIVATE_KEY_PARSER=m CONFIG_CRC_ITU_T=y CONFIG_LIBCRC32C=y CONFIG_DMA_CMA=y