1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-29 17:31:49 +08:00
Ronald Cron 4501c98fc2 psa: sign: Return INVALID_ARGUMENT instead of NOT_SUPPORTED
To run succesfully the test
"PSA sign: invalid algorithm for ECC key" of
test_suite_psa_crypto when ECDSA support is not included
in the library, always return INVALID_ARGUMENT
in case of an ECC key not used for ECDSA, whether
ECDSA support is present or not.

Then apply the same logic to RSA sign RSA and RSA/ECC
verify for the sake of consistency.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2021-03-24 12:05:51 +01:00
..
2021-03-04 14:34:50 +00:00
2021-01-29 11:09:50 +01:00
2021-02-23 11:27:03 +01:00
2020-11-16 15:02:16 +01:00
2021-02-23 20:29:38 +01:00
2020-09-22 11:57:16 +02:00
2020-11-25 13:10:50 +01:00
2020-11-25 13:10:50 +01:00
2021-02-22 19:24:03 +01:00
2021-03-10 18:17:12 +00:00
2021-03-05 14:24:03 +00:00
2020-09-01 11:04:53 +02:00