Allow tweaking PSA_KEY_SLOT_COUNT

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
Steven Cooreman 2021-01-08 18:16:47 +01:00
parent a0832d47f7
commit 7976574f82
2 changed files with 7 additions and 0 deletions

View 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.

View File

@ -27,7 +27,9 @@
/* Number of key slots (plus one because 0 is not used).
* The value is a compile-time constant for now, for simplicity. */
#if !defined(PSA_KEY_SLOT_COUNT)
#define PSA_KEY_SLOT_COUNT 32
#endif
/** Range of volatile key identifiers.
*