summaryrefslogtreecommitdiff
path: root/lib/mbedtls/mbedtls_def_config.h
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2024-12-19 14:05:48 +0100
committerTom Rini <trini@konsulko.com>2025-01-18 17:12:47 -0600
commit70a42bf2170eadd2b8b99175785435f209faca0a (patch)
treee9280a75f5730725032f41d4119d8e04e0c3bb98 /lib/mbedtls/mbedtls_def_config.h
parentf88ccd32b5e566104c9e65f1c576125895214f10 (diff)
mbedtls: enable support of hkdf
Adds the support of key derivation using the scheme hkdf. Reviewed-by: Raymond Mao <raymond.mao@linaro.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'lib/mbedtls/mbedtls_def_config.h')
-rw-r--r--lib/mbedtls/mbedtls_def_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mbedtls/mbedtls_def_config.h b/lib/mbedtls/mbedtls_def_config.h
index 1d2314e90e4..fd440c392f9 100644
--- a/lib/mbedtls/mbedtls_def_config.h
+++ b/lib/mbedtls/mbedtls_def_config.h
@@ -56,6 +56,10 @@
#endif
#endif
+#if CONFIG_IS_ENABLED(HKDF_MBEDTLS)
+#define MBEDTLS_HKDF_C
+#endif
+
#if defined CONFIG_MBEDTLS_LIB_X509
#if CONFIG_IS_ENABLED(X509_CERTIFICATE_PARSER)