From 4bc4a2d6a5706fefa98aabc0caa2c039df317819 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 51867e825..7081070bf 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -541,6 +541,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)