Skip to content

Commit

Permalink
libmbedtls: reset minimum rsa key size
Browse files Browse the repository at this point in the history
MbedTLS set the default minimum key size to 1024, while test regression_4007
requires a minimum key size of 128.

Signed-off-by: Tom Van Eyck <tom.vaneyck@kuleuven.be>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
tomvaneyck committed Apr 29, 2024
1 parent 338f146 commit afd7e60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libmbedtls/include/mbedtls_config_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@

#if defined(CFG_CRYPTO_RSA)
#define MBEDTLS_RSA_C
#define MBEDTLS_RSA_GEN_KEY_MIN_BITS 128
#endif

#if defined(CFG_CRYPTO_RSA) || defined(CFG_CRYPTO_ECC)
Expand Down

0 comments on commit afd7e60

Please sign in to comment.