Skip to content

Commit 4d588b5

Browse files
rado17krish2718
authored andcommitted
nrf_security: Increase default maximum size of MPI
Max MPI size is set to 256 by default. This needs to be increased to 384 to handle RSA-3072 signature. Signed-off-by: Ravi Dondaputi <[email protected]>
1 parent 043f342 commit 4d588b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/nrf_security/Kconfig.legacy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ config MBEDTLS_MPI_MAX_SIZE
288288
prompt "Maximum number of bytes for usable MPIs." if !(CC312_BACKEND || CC310_BACKEND)
289289
default 256 if CC310_BACKEND
290290
default 384 if CC312_BACKEND
291+
default 384 # Needed to support RSA 3072
291292
range 256 2048
292293

293294
config MBEDTLS_LEGACY_CRYPTO_C_SILENCE_DEPRECATION

0 commit comments

Comments
 (0)