mpi: reduce RSA generate key test key size

Reduce key size to make the test run faster in CI, reduce the chance of timeouts.
This commit is contained in:
Marius Vikhammer 2022-01-18 10:06:38 +08:00
parent d0890037c5
commit b9415373d3

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