modules: mbedtls: option for MBEDTLS_HKDF_C
Add kconfig option to enabled `MBEDTLS_HKDF_C`, HMAC-based Extract-and-Expand Key Derivation Function. Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
parent
6784ed8202
commit
3247a1db81
|
@ -118,6 +118,9 @@ config MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
|
|||
bool "ECJPAKE based ciphersuite modes"
|
||||
depends on MBEDTLS_ECJPAKE_C
|
||||
|
||||
config MBEDTLS_HKDF_C
|
||||
bool "HMAC-based Extract-and-Expand Key Derivation Function"
|
||||
|
||||
comment "Elliptic curve libraries"
|
||||
|
||||
config MBEDTLS_ECDH_C
|
||||
|
|
|
@ -138,6 +138,10 @@
|
|||
#define MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_HKDF_C)
|
||||
#define MBEDTLS_HKDF_C
|
||||
#endif
|
||||
|
||||
/* Supported cipher modes */
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_CIPHER_AES_ENABLED)
|
||||
|
|
Loading…
Reference in a new issue