mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-30 10:37:20 +00:00
Allow tweaking PSA_KEY_SLOT_COUNT
Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
parent
a0832d47f7
commit
7976574f82
5
ChangeLog.d/psa_allow_tweaking_library_configuration.txt
Normal file
5
ChangeLog.d/psa_allow_tweaking_library_configuration.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Features
|
||||||
|
* The PSA crypto subsystem can now be configured to use less static RAM by
|
||||||
|
tweaking the setting for the maximum amount of keys simultaneously in RAM.
|
||||||
|
PSA_KEY_SLOT_COUNT sets the maximum number of volatile keys that can
|
||||||
|
exist simultaneously. It has a sensible default if not overridden.
|
|
@ -27,7 +27,9 @@
|
||||||
|
|
||||||
/* Number of key slots (plus one because 0 is not used).
|
/* Number of key slots (plus one because 0 is not used).
|
||||||
* The value is a compile-time constant for now, for simplicity. */
|
* The value is a compile-time constant for now, for simplicity. */
|
||||||
|
#if !defined(PSA_KEY_SLOT_COUNT)
|
||||||
#define PSA_KEY_SLOT_COUNT 32
|
#define PSA_KEY_SLOT_COUNT 32
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Range of volatile key identifiers.
|
/** Range of volatile key identifiers.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue