mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-20 21:39:54 +00:00
test_suite_psa_crypto: test also MBEDTLS_ECP_DP_MAX in ecc_conversion_functions_fail()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
eca07140f3
commit
db6e02902d
@ -9500,7 +9500,9 @@ void ecc_conversion_functions_fail()
|
||||
{
|
||||
size_t bits;
|
||||
|
||||
/* Invalid legacy curve identifier. */
|
||||
/* Invalid legacy curve identifiers. */
|
||||
TEST_EQUAL(0, mbedtls_ecc_group_to_psa(MBEDTLS_ECP_DP_MAX, &bits));
|
||||
TEST_EQUAL(0, bits);
|
||||
TEST_EQUAL(0, mbedtls_ecc_group_to_psa(MBEDTLS_ECP_DP_NONE, &bits));
|
||||
TEST_EQUAL(0, bits);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user