Lines Matching refs:keys
10 The storage of persistent keys is out of scope of this document. See the [Mbed Crypto storage speci…
32 …bsystem with `mbedtls_psa_crypto_free()` destroys all volatile keys and purges all persistent keys.
79 The static key store could become a runtime decision, where only keys larger than some threshold re…
96 …Y_SLOT_COUNT`. This value is an upper bound for the total number of volatile keys plus loaded keys.
114 The dynamic key store allows a large number of keys, at the expense of more complex memory manageme…
120 …)$ amortized performance, and mostly $O(1)$ performance for actions involving keys. More precisely:
124 …ich is a hard-coded value less than $30$), but when creating $k$ volatile keys, at most $\log(k)$ …
125 …e calls to `free()` which may total $O(k)$ memory where $k$ is the maximum number of volatile keys.
131 Volatile keys and loaded keys (persistent or built-in) are stored in separate slices.
132 Key slices number 0 to `KEY_SLOT_VOLATILE_SLICE_COUNT - 1` contain only volatile keys.
133 One key slice contains only loaded keys: that key slice is thus the cache slice. See [“Persistent k…
155 …he PSA Crypto implementation that does not overlap the range for built-in keys). The reason is tha…
181 …e slices full of long-lived keys, and then one slice keeps being allocate and deallocated for the …
187 Persistent keys and built-in keys need to be loaded into the in-memory key store each time they are…
194 …id frequent storage access, we cache persistent keys in memory. This cache also applies to built-i…
196 …n key. With the [dynamic key store](#dynamic-key-store), volatile keys and cached keys are placed …
198 …ray is shared with volatile keys. In the dynamic key store, the cache is a separate array that doe…
202 `psa_get_and_lock_key_slot()` automatically loads persistent and built-in keys if the specified key…
212 …rrency”](#concurrency)). In the static key store, slots containing volatile keys cannot be evicted.