Home
last modified time | relevance | path

Searched refs:psa_key_id_t (Results 1 – 25 of 25) sorted by relevance

/openthread-3.7.0/third_party/mbedtls/repo/include/psa/
Dcrypto_types.h275 typedef uint32_t psa_key_id_t; typedef
292 typedef psa_key_id_t mbedtls_svc_key_id_t;
301 psa_key_id_t MBEDTLS_PRIVATE(key_id);
Dcrypto_values.h2420 #define PSA_KEY_ID_NULL ((psa_key_id_t)0)
2424 #define PSA_KEY_ID_USER_MIN ((psa_key_id_t) 0x00000001)
2427 #define PSA_KEY_ID_USER_MAX ((psa_key_id_t) 0x3fffffff)
2430 #define PSA_KEY_ID_VENDOR_MIN ((psa_key_id_t) 0x40000000)
2433 #define PSA_KEY_ID_VENDOR_MAX ((psa_key_id_t) 0x7fffffff)
2438 #define MBEDTLS_SVC_KEY_ID_INIT ((psa_key_id_t) 0)
2448 unsigned int unused, psa_key_id_t key_id) in mbedtls_svc_key_id_make()
2491 mbedtls_key_owner_id_t owner_id, psa_key_id_t key_id) in mbedtls_svc_key_id_make()
Dcrypto_extra.h232 psa_key_id_t MBEDTLS_PRIVATE(max_open_internal_key_id);
234 psa_key_id_t MBEDTLS_PRIVATE(max_open_external_key_id);
485 #define MBEDTLS_PSA_KEY_ID_BUILTIN_MIN ((psa_key_id_t) 0x7fff0000)
492 #define MBEDTLS_PSA_KEY_ID_BUILTIN_MAX ((psa_key_id_t) 0x7fffefff)
510 static inline int psa_key_id_is_builtin(psa_key_id_t key_id) in psa_key_id_is_builtin()
Dcrypto.h3964 psa_key_id_t expected);
/openthread-3.7.0/third_party/mbedtls/repo/programs/psa/
Dkey_ladder_demo.c155 static psa_status_t save_key(psa_key_id_t key, in save_key()
188 psa_key_id_t key = 0; in generate()
214 psa_key_id_t *master_key) in import_key_from_file()
263 psa_key_id_t *key) in derive_key_ladder()
311 psa_key_id_t derived_key, in derive_wrapping_key()
312 psa_key_id_t *wrapping_key) in derive_wrapping_key()
348 psa_key_id_t wrapping_key) in wrap_data()
435 psa_key_id_t wrapping_key) in unwrap_data()
531 psa_key_id_t derivation_key = 0; in run()
532 psa_key_id_t wrapping_key = 0; in run()
Daead_demo.c119 psa_key_id_t *key, in aead_prepare()
168 static void aead_info(psa_key_id_t key, psa_algorithm_t alg) in aead_info()
191 static int aead_encrypt(psa_key_id_t key, psa_algorithm_t alg, in aead_encrypt()
233 psa_key_id_t key; in aead_demo()
Dcrypto_examples.c84 static psa_status_t cipher_encrypt(psa_key_id_t key, in cipher_encrypt()
115 static psa_status_t cipher_decrypt(psa_key_id_t key, in cipher_decrypt()
157 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
207 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
254 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_ctr_multi()
Dhmac_demo.c102 psa_key_id_t key = 0; in hmac_demo()
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dpsa_crypto_slot_management.c56 psa_key_id_t key_id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(key); in psa_is_valid_key_id()
110 psa_key_id_t key_id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(key); in psa_get_and_lock_key_slot_in_memory()
177 psa_status_t psa_reserve_free_key_slot(psa_key_id_t *volatile_key_id, in psa_reserve_free_key_slot()
230 ((psa_key_id_t) (selected_slot - global_data.key_slots)); in psa_reserve_free_key_slot()
398 psa_key_id_t volatile_key_id; in psa_get_and_lock_key_slot()
668 psa_key_id_t id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(slot->attr.id); in mbedtls_psa_get_stats()
676 psa_key_id_t id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(slot->attr.id); in mbedtls_psa_get_stats()
Dpsa_crypto_slot_management.h42 static inline int psa_key_id_is_volatile(psa_key_id_t key_id) in psa_key_id_is_volatile()
125 psa_status_t psa_reserve_free_key_slot(psa_key_id_t *volatile_key_id,
Dpsa_crypto_se.h45 #define PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE ((psa_key_id_t) 0xfffffe00)
Dpsa_crypto_storage.h361 #define PSA_CRYPTO_ITS_TRANSACTION_UID ((psa_key_id_t) 0xffffff74)
Dpsa_crypto.c1756 psa_key_id_t volatile_key_id; in psa_start_key_creation()
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/drivers/
Dplatform_builtin_keys.c21 psa_key_id_t builtin_key_id;
64 psa_key_id_t app_key_id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(key_id); in mbedtls_psa_platform_get_builtin_key()
/openthread-3.7.0/src/core/crypto/
Dcontext_size.hpp55 constexpr uint16_t kAesContextSize = sizeof(psa_key_id_t);
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md112psa_key_id_t`). In integrations where there is a concept of key owner (integration into a service …
401psa_key_id_t`). In integrations where there is a concept of key owner (integration into a service …
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal_mocks.function82 psa_key_id_t id;
Dtest_suite_psa_crypto_driver_wrappers.function2137 psa_key_id_t builtin_key_id = (psa_key_id_t) builtin_key_id_arg;
2188 psa_key_id_t builtin_key_id = (psa_key_id_t) builtin_key_id_arg;
Dtest_suite_psa_crypto_slot_management.function722 psa_key_id_t key_id;
Dtest_suite_ssl.function2898 mbedtls_svc_key_id_t psk0_opaque = mbedtls_svc_key_id_make(0x1, (psa_key_id_t) 1);
2905 mbedtls_svc_key_id_t psk1_opaque = mbedtls_svc_key_id_make(0x1, (psa_key_id_t) 2);
/openthread-3.7.0/third_party/mbedtls/repo/docs/
Dpsa-transition.md88 …is indirect. Operations that require a key take a parameter of type [`psa_key_id_t`](https://mbed-…
352 …tributes defined in the previous step, to get an identifier of type [`psa_key_id_t`](https://mbed-…
540 …tributes defined in the previous step, to get an identifier of type [`psa_key_id_t`](https://mbed-…
661 In the PSA API, keys are referenced by an identifier of type [`psa_key_id_t`](https://mbed-tls.read…
672 …tributes defined in the previous step, to get an identifier of type [`psa_key_id_t`](https://mbed-…
833 psa_key_id_t key_id;
860 psa_key_id_t key_id = 0;
881 psa_key_id_t key_id = 0;
917 int write_psa_pubkey(psa_key_id_t key_id,
1099 …tributes defined in the previous step, to get an identifier of type [`psa_key_id_t`](https://mbed-…
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dstrategy.md466 `mbedtls_pk_context` object, which would probably change to a `psa_key_id_t`.
Dpsa-legacy-bridges.md147 …ey pair or public key (`mbedtls_pk_context`) and needs to create a PSA key object (`psa_key_id_t`).
/openthread-3.7.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md187 * For entry points that operate on an existing key, the `psa_key_id_t` parameter is replaced by a s…
196 * For entry points that are involved in key creation, the `psa_key_id_t *` output parameter is repl…
1288 psa_key_id_t key;
/openthread-3.7.0/third_party/mbedtls/repo/
DChangeLog2078 identical to psa_key_id_t instead of being platform-defined. This bridges