From 6e2069661efe1a9dbd746838dd40643ceb25fa09 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 3 Jan 2024 20:59:03 +0100 Subject: [PATCH] Note unusual curve size Signed-off-by: Gilles Peskine --- include/psa/crypto_values.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index a5e885ff5a..e69f0c4d69 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -594,6 +594,8 @@ * They are defined in _Standards for Efficient Cryptography_, * _SEC 2: Recommended Elliptic Curve Domain Parameters_. * https://www.secg.org/sec2-v2.pdf + * + * \note For secp224k1, the bit-size is 225 (size of a private value). */ #define PSA_ECC_FAMILY_SECP_K1 ((psa_ecc_family_t) 0x17)