From b9415373d3f9515308d8ccb39319bc6f56876c40 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 18 Jan 2022 10:06:38 +0800 Subject: [PATCH] mpi: reduce RSA generate key test key size Reduce key size to make the test run faster in CI, reduce the chance of timeouts. --- components/mbedtls/test/test_rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mbedtls/test/test_rsa.c b/components/mbedtls/test/test_rsa.c index ef9a1c21ab..2137de847e 100644 --- a/components/mbedtls/test/test_rsa.c +++ b/components/mbedtls/test/test_rsa.c @@ -529,7 +529,7 @@ TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]") mbedtls_entropy_context entropy; mbedtls_ctr_drbg_context ctr_drbg; - const unsigned int key_size = 3072; + const unsigned int key_size = 2048; const int exponent = 65537; #if CONFIG_MBEDTLS_MPI_USE_INTERRUPT