mirror of
https://github.com/espressif/mbedtls.git
synced 2026-10-21 00:07:57 +00:00
Allow tweaking PSA_KEY_SLOT_COUNT
Signed-off-by: Steven Cooreman <[email protected]>
This commit is contained in:
@@ -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).
|
||||
* 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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user