forked from espressif/esp-idf
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:
@@ -559,7 +559,6 @@ static void rsa_key_operations(int keysize, bool check_performance, bool generat
|
|||||||
mbedtls_rsa_free(&rsa);
|
mbedtls_rsa_free(&rsa);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONFIG_MBEDTLS_HARDWARE_MPI
|
|
||||||
|
|
||||||
TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]")
|
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_MPI_USE_INTERRUPT
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // CONFIG_MBEDTLS_HARDWARE_MPI
|
||||||
|
Reference in New Issue
Block a user