mbedtls: add Kconfig symbol CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS
Adding the Kconfig symbol CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS to allow Mbed TLS's PSA Crypto core to use static key buffers to store key's material. This helps reducing heap memory usage and, potentially, it also discard code implementing heap memory management if there's no other module in the build that makes use of it. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
f0944a2b4d
commit
2f6ea8ed77
4 changed files with 29 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
CONFIG_MBEDTLS=y
|
||||
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
|
||||
CONFIG_MBEDTLS_PSA_P256M_DRIVER_ENABLED=y
|
||||
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
|
||||
|
||||
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT=y
|
||||
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue