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
This commit is contained in:
Aditya Patwardhan 2021-06-14 11:16:28 +05:30
parent cdad1eaa9c
commit e44bd93cc9
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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.