Răsfoiți Sursa

i) wpa_supplicant: Force enable the necessary options for mbedtls in the wpa_supplicant to fix illegal combinations in mbedtls
ii) Fix dependancy for one option in mbedtls menuconfig

Aditya Patwardhan 4 ani în urmă
părinte
comite
e44bd93cc9
2 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 1 0
      components/mbedtls/Kconfig
  2. 5 0
      components/wpa_supplicant/Kconfig

+ 1 - 0
components/mbedtls/Kconfig

@@ -231,6 +231,7 @@ menu "mbedTLS"
     config MBEDTLS_CMAC_C
         bool "Enable CMAC mode for block ciphers"
         default n
+        depends on MBEDTLS_AES_C || MBEDTLS_DES_C
         help
             Enable the CMAC (Cipher-based Message Authentication Code) mode for
             block ciphers.

+ 5 - 0
components/wpa_supplicant/Kconfig

@@ -3,6 +3,11 @@ menu "Supplicant"
     config WPA_MBEDTLS_CRYPTO
         bool "Use MbedTLS crypto APIs"
         default y
+        select MBEDTLS_AES_C
+        select MBEDTLS_ECP_C
+        select MBEDTLS_ECDH_C
+        select MBEDTLS_ECDSA_C
+        select MBEDTLS_TLS_ENABLED
         help
             Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.