Skip to content

Commit

Permalink
Merge pull request #8172 from ronald-cron-arm/psa-config-add-comment
Browse files Browse the repository at this point in the history
Backport 2.28: Add comment about HKDF in config_psa.h
  • Loading branch information
gilles-peskine-arm authored Sep 13, 2023
2 parents fcbcf57 + fa9392a commit 3d9978e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/mbedtls/config_psa.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ extern "C" {

#if defined(PSA_WANT_ALG_HKDF)
#if !defined(MBEDTLS_PSA_ACCEL_ALG_HKDF)
/*
* The PSA implementation has its own implementation of HKDF, separate from
* hkdf.c. No need to enable MBEDTLS_HKDF_C here.
*/
#define MBEDTLS_PSA_BUILTIN_ALG_HMAC 1
#define MBEDTLS_PSA_BUILTIN_ALG_HKDF 1
#endif /* !MBEDTLS_PSA_ACCEL_ALG_HKDF */
Expand Down

0 comments on commit 3d9978e

Please sign in to comment.