mbedtls_config: move MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE to the correct place

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti 2024-08-13 10:44:02 +02:00
parent efce6052d8
commit 2deb25a8ac

View File

@ -3286,21 +3286,6 @@
*/
//#define MBEDTLS_PSA_STATIC_KEY_SLOTS
/**
* \def MBEDTLS_PSA_STATIC_KEY_SLOTS
*
* Optionally define the size (in bytes) of each static key slot. If not
* explicitly defined then it's automatically set to hold the maximum
* asymmetric PSA key enabled in the build (through PSA_WANT_xxx symbols).
* If required by the application this parameter can be set to higher values
* in order to store larger objects (ex: raw keys), but please note that this
* will increase RAM usage.
*
* Requires: MBEDTLS_PSA_STATIC_KEY_SLOTS
*
*/
//#define MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE 256
/**
* \def MBEDTLS_RIPEMD160_C
*
@ -4102,6 +4087,21 @@
*/
//#define MBEDTLS_PSA_KEY_SLOT_COUNT 32
/**
* \def MBEDTLS_PSA_STATIC_KEY_SLOTS
*
* Optionally define the size (in bytes) of each static key slot. If not
* explicitly defined then it's automatically set to hold the maximum
* asymmetric PSA key enabled in the build (through PSA_WANT_xxx symbols).
* If required by the application this parameter can be set to higher values
* in order to store larger objects (ex: raw keys), but please note that this
* will increase RAM usage.
*
* Requires: MBEDTLS_PSA_STATIC_KEY_SLOTS
*
*/
//#define MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE 256
/* RSA OPTIONS */
//#define MBEDTLS_RSA_GEN_KEY_MIN_BITS 1024 /**< Minimum RSA key size that can be generated in bits (Minimum possible value is 128 bits) */