mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Merge pull request #5981 from mprse/hkdf_config_fix
Add comment to config_psa.h about enabling PSA_HKDF/-EXTRACT/-EXPAND
This commit is contained in:
commit
31fcfd5632
@ -606,6 +606,10 @@ extern "C" {
|
|||||||
#define PSA_WANT_ALG_GCM 1
|
#define PSA_WANT_ALG_GCM 1
|
||||||
#endif /* MBEDTLS_GCM_C */
|
#endif /* MBEDTLS_GCM_C */
|
||||||
|
|
||||||
|
/* Enable PSA HKDF algorithm if mbedtls HKDF is supported.
|
||||||
|
* PSA HKDF EXTRACT and PSA HKDF EXPAND have minimal cost when
|
||||||
|
* PSA HKDF is enabled, so enable both algorithms together
|
||||||
|
* with PSA HKDF. */
|
||||||
#if defined(MBEDTLS_HKDF_C)
|
#if defined(MBEDTLS_HKDF_C)
|
||||||
#define MBEDTLS_PSA_BUILTIN_ALG_HMAC 1
|
#define MBEDTLS_PSA_BUILTIN_ALG_HMAC 1
|
||||||
#define PSA_WANT_ALG_HMAC 1
|
#define PSA_WANT_ALG_HMAC 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user