Merge branch 'bugfix/rsa_gen_key_test_c2' into 'master'

RSA: only run generate key test if we have MPI HW support

Closes IDFCI-1326

See merge request espressif/esp-idf!18704
This commit is contained in:
Mahavir Jain 2022-06-28 12:57:10 +08:00
commit 34e9f54a48

View File

@ -559,7 +559,6 @@ static void rsa_key_operations(int keysize, bool check_performance, bool generat
mbedtls_rsa_free(&rsa);
}
#endif // CONFIG_MBEDTLS_HARDWARE_MPI
TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]")
{
@ -598,3 +597,5 @@ TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]")
#endif //CONFIG_MBEDTLS_MPI_USE_INTERRUPT
}
#endif // CONFIG_MBEDTLS_HARDWARE_MPI