From 3aa79691fc8cc960123eacd519c2dfcd595404fb Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 20 Sep 2023 20:54:50 +0200 Subject: [PATCH] Add a note about p256m near the option to enable secp256r1 Only document it with the PSA configuration, not for MBEDTLS_ECP_DP_SECP256R1_ENABLED, since p256m can't be used with the classic API. Signed-off-by: Gilles Peskine --- include/psa/crypto_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/psa/crypto_config.h b/include/psa/crypto_config.h index 4e7a71e1d..d34cbf339 100644 --- a/include/psa/crypto_config.h +++ b/include/psa/crypto_config.h @@ -115,6 +115,8 @@ #define PSA_WANT_ECC_SECP_K1_256 1 #define PSA_WANT_ECC_SECP_R1_192 1 #define PSA_WANT_ECC_SECP_R1_224 1 +/* For secp256r1, consider enabling #MBEDTLS_PSA_P256M_DRIVER_ENABLED + * (see the description in mbedtls/mbedtls_config.h for details). */ #define PSA_WANT_ECC_SECP_R1_256 1 #define PSA_WANT_ECC_SECP_R1_384 1 #define PSA_WANT_ECC_SECP_R1_521 1