Merge branch 'bugfix/rsa_gen_key_test' into 'master'

mpi: reduce RSA generate key test key size

See merge request espressif/esp-idf!16837
This commit is contained in:
Marius Vikhammer
2022-01-18 08:53:15 +00:00

View File

@@ -529,7 +529,7 @@ TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]")
mbedtls_entropy_context entropy; mbedtls_entropy_context entropy;
mbedtls_ctr_drbg_context ctr_drbg; mbedtls_ctr_drbg_context ctr_drbg;
const unsigned int key_size = 3072; const unsigned int key_size = 2048;
const int exponent = 65537; const int exponent = 65537;
#if CONFIG_MBEDTLS_MPI_USE_INTERRUPT #if CONFIG_MBEDTLS_MPI_USE_INTERRUPT