Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 13 of 13) sorted by relevance

/mbedtls-latest/docs/architecture/
Dpsa-keystore-design.md14 ### Key store and key slots
16 The **key store** consists of a collection of **key slots**. Each key slot contains the metadata fo…
34 The library accesses key slots in the following scenarios:
69 … key store ([static key slots](#static-key-store) with dynamic key data): the key store is a stati…
70 … (since Mbed TLS 3.6.3): the key store is a statically allocated array of slots, of size `MBEDTLS_…
81 …rm. In particular, slices cannot be compacted (compacting would be moving slots out of a sparsely-…
85 …code use **key slices** as an abstraction. A key slice is an array of key slots. Key slices are id…
96 …storical implementation. The key store is a statically allocated array of slots, of size `MBEDTLS_…
98 …rence is in how the memory for key data is managed. With fully static key slots, the key data is d…
153 …hus if the length of slice 0 is `B` and there are `N` slices, then there are `B * (2^N - 1)` slots.
[all …]
Dpsa-storage-resilience.md161 …esign is easier: the driver doesn't need to protect the information about slots in use against a p…
/mbedtls-latest/programs/ssl/
Dssl_server2.c1101 ssl_async_key_slot_t slots[4]; /* key, key2, sni1, sni2 */ member
1114 if (ctx->slots_used >= sizeof(ctx->slots) / sizeof(*ctx->slots)) { in ssl_async_set_key()
1117 ctx->slots[ctx->slots_used].cert = cert; in ssl_async_set_key()
1118 ctx->slots[ctx->slots_used].pk = pk; in ssl_async_set_key()
1119 ctx->slots[ctx->slots_used].delay = delay; in ssl_async_set_key()
1120 ctx->slots[ctx->slots_used].pk_owned = pk_take_ownership; in ssl_async_set_key()
1179 config_data->slots[slot].pk, in ssl_async_start()
1190 op_name, slot, config_data->slots[slot].delay); in ssl_async_start()
1210 ctx->remaining_delay = config_data->slots[slot].delay; in ssl_async_start()
1249 ssl_async_key_slot_t *key_slot = &config_data->slots[ctx->slot]; in ssl_async_resume()
[all …]
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_slot_management.data256 # Check that non reusable key slots are not deleted/overwritten in case of key
258 # . An attempt to access a persistent key while all RAM key slots are occupied
265 Non reusable key slots integrity in case of key slot starvation
Dtest_suite_psa_crypto_se_driver_hal.data27 SE key import-export persistent (p_allocate allows all slots)
39 SE key import-export volatile (p_allocate allows all slots)
Dtest_suite_psa_crypto_slot_management.function1013 * is removed from the RAM key slots. This makes room to store its
1035 * slots when creating the last key is restored in a RAM slot to export
1116 * Check that we cannot access the persistent key as all slots are
1142 * Check that we cannot copy the persistent key as all slots are occupied
Dtest_suite_psa_crypto_se_driver_hal.function257 * bit vector indicating which slots are in use. */
Dtest_suite_psa_crypto.function1358 /* If all of the key slots are reserved when a thread
1363 * free key slots. Each thread reserves an empty key slot,
1386 * where N is equal to the number of free key slots.
1391 * finds that there are no free slots.
Dtest_suite_ssl.function3343 /* Save the number of slots in use up to this point.
/mbedtls-latest/docs/architecture/psa-thread-safety/
Dpsa-thread-safety.md11 …- Key slots are protected by a global mutex, as described in [Key store consistency and abstractio…
144 …nt.c` has two fields: `key_slots` is protected as described in [Key slots](#key-slots), `key_slots…
152 #### Key slots
155 Keys are stored internally in a global array of key slots known as the "key store", defined in `lib…
194 The union of this set and the set of persistent keys not currently loaded into slots is our abstrac…
225 …ad unregisters from reading the key (the operations do not access the key slots again). The copy o…
277 * Have increased testing for kicking persistent keys out of slots.
/mbedtls-latest/docs/architecture/testing/
Dinvasive-testing.md103 * Key slots (PSA API only).
104 * Key slots in a secure element (PSA SE HAL).
119 * Freeing key slots.
120 * Freeing key slots in a secure element.
/mbedtls-latest/docs/architecture/psa-migration/
Dstrategy.md430 might be undesirable to use N PSA key slots for their public keys as long as
/mbedtls-latest/
DChangeLog1077 Additional PSA key slots will be allocated in the process of such key