feat(mbedtls): Add DHM configuration to Kconfig

This commit is contained in:
Dong Heng
2018-09-13 13:23:29 +08:00
parent 04078eda5d
commit a8b6c4b121
2 changed files with 9 additions and 1 deletions

View File

@ -381,6 +381,12 @@ config MBEDTLS_ECDH_C
help
Enable ECDH. Needed to use ECDHE-xxx TLS ciphersuites.
config MBEDTLS_DHM_C
bool "Diffie-Hellman-Merkle(DHM)"
default y
help
Enable the Diffie-Hellman-Merkle module.
config MBEDTLS_ECDSA_C
bool "Elliptic Curve DSA"
depends on MBEDTLS_ECDH_C

View File

@ -2024,7 +2024,9 @@
* See dhm.h for more details.
*
*/
//#define MBEDTLS_DHM_C
#ifdef CONFIG_MBEDTLS_DHM_C
#define MBEDTLS_DHM_C
#endif
/**
* \def MBEDTLS_ECDH_C