mirror of https://github.com/ARMmbed/mbed-os.git
Reduce default MBEDTLS_MPI_MAX_SIZE
Reduce the default size of `MBEDTLS_MPI_MAX_SIZE` to 512 bytes, as the default 1024 consumes much stack, and supporting RSA 4096 bit may suffice at the moment.pull/8936/head
parent
f8e1116019
commit
097996c25a
|
@ -140,6 +140,8 @@ conf unset MBEDTLS_SSL_TRUNCATED_HMAC
|
|||
|
||||
conf unset MBEDTLS_PLATFORM_TIME_TYPE_MACRO
|
||||
|
||||
conf set MBEDTLS_MPI_MAX_SIZE 512
|
||||
|
||||
# The following configurations are a needed for Mbed Crypto submodule.
|
||||
# They are related to the persistent key storage feature.
|
||||
conf set MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||
|
|
Loading…
Reference in New Issue