mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
psa_crypto_ecp: fix comment for secp224k1 in check_ecc_parameters
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
db6e02902d
commit
0d438fa390
|
|
@ -80,8 +80,8 @@ static int check_ecc_parameters(psa_ecc_family_t family, size_t *bits)
|
|||
case 256:
|
||||
return PSA_SUCCESS;
|
||||
/* secp224k1 is not and will not be supported in PSA (#3541).
|
||||
* Note: secp224k1 has 225-bit private keys which are rounded
|
||||
* up to 232 for their representation. */
|
||||
* Note: secp224k1 has 224-bit coordinates but 225-bit private
|
||||
* keys which are rounded up to 232 for their representation. */
|
||||
case 224:
|
||||
case 232:
|
||||
return PSA_ERROR_NOT_SUPPORTED;
|
||||
|
|
|
|||
Loading…
Reference in a new issue