Home
last modified time | relevance | path

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

/third_party/mbedtls/include/psa/
Dcrypto_types.h280 typedef uint32_t psa_key_id_t; typedef
297 typedef psa_key_id_t mbedtls_svc_key_id_t;
306 psa_key_id_t MBEDTLS_PRIVATE(key_id);
Dcrypto_values.h2400 #define PSA_KEY_ID_NULL ((psa_key_id_t)0)
2404 #define PSA_KEY_ID_USER_MIN ((psa_key_id_t) 0x00000001)
2407 #define PSA_KEY_ID_USER_MAX ((psa_key_id_t) 0x3fffffff)
2410 #define PSA_KEY_ID_VENDOR_MIN ((psa_key_id_t) 0x40000000)
2413 #define PSA_KEY_ID_VENDOR_MAX ((psa_key_id_t) 0x7fffffff)
2418 #define MBEDTLS_SVC_KEY_ID_INIT ((psa_key_id_t) 0)
2428 unsigned int unused, psa_key_id_t key_id) in mbedtls_svc_key_id_make()
2471 mbedtls_key_owner_id_t owner_id, psa_key_id_t key_id) in mbedtls_svc_key_id_make()
Dcrypto_extra.h245 psa_key_id_t MBEDTLS_PRIVATE(max_open_internal_key_id);
247 psa_key_id_t MBEDTLS_PRIVATE(max_open_external_key_id);
735 #define MBEDTLS_PSA_KEY_ID_BUILTIN_MIN ((psa_key_id_t) 0x7fff0000)
742 #define MBEDTLS_PSA_KEY_ID_BUILTIN_MAX ((psa_key_id_t) 0x7fffefff)
760 static inline int psa_key_id_is_builtin(psa_key_id_t key_id) in psa_key_id_is_builtin()
Dcrypto.h3884 psa_key_id_t expected);
/third_party/mbedtls/programs/psa/
Dkey_ladder_demo.c167 static psa_status_t save_key(psa_key_id_t key, in save_key()
200 psa_key_id_t key = 0; in generate()
226 psa_key_id_t *master_key) in import_key_from_file()
275 psa_key_id_t *key) in derive_key_ladder()
323 psa_key_id_t derived_key, in derive_wrapping_key()
324 psa_key_id_t *wrapping_key) in derive_wrapping_key()
360 psa_key_id_t wrapping_key) in wrap_data()
447 psa_key_id_t wrapping_key) in unwrap_data()
543 psa_key_id_t derivation_key = 0; in run()
544 psa_key_id_t wrapping_key = 0; in run()
Daead_demo.c131 psa_key_id_t *key, in aead_prepare()
180 static void aead_info(psa_key_id_t key, psa_algorithm_t alg) in aead_info()
203 static int aead_encrypt(psa_key_id_t key, psa_algorithm_t alg, in aead_encrypt()
245 psa_key_id_t key; in aead_demo()
Dcrypto_examples.c96 static psa_status_t cipher_encrypt(psa_key_id_t key, in cipher_encrypt()
127 static psa_status_t cipher_decrypt(psa_key_id_t key, in cipher_decrypt()
169 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
219 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
266 psa_key_id_t key = 0; in cipher_example_encrypt_decrypt_aes_ctr_multi()
Dhmac_demo.c114 psa_key_id_t key = 0; in hmac_demo()
/third_party/mbedtls/library/
Dpsa_crypto_slot_management.c50 psa_key_id_t key_id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(key); in psa_is_valid_key_id()
101 psa_key_id_t key_id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(key); in psa_get_and_lock_key_slot_in_memory()
164 psa_status_t psa_get_empty_key_slot(psa_key_id_t *volatile_key_id, in psa_get_empty_key_slot()
212 ((psa_key_id_t) (selected_slot - global_data.key_slots)); in psa_get_empty_key_slot()
363 psa_key_id_t volatile_key_id; in psa_get_and_lock_key_slot()
562 psa_key_id_t id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(slot->attr.id); in mbedtls_psa_get_stats()
570 psa_key_id_t id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(slot->attr.id); in mbedtls_psa_get_stats()
Dpsa_crypto_slot_management.h54 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_get_empty_key_slot(psa_key_id_t *volatile_key_id,
Dpsa_crypto_se.h50 #define PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE ((psa_key_id_t) 0xfffffe00)
Dpsa_crypto_storage.h372 #define PSA_CRYPTO_ITS_TRANSACTION_UID ((psa_key_id_t) 0xffffff74)
Dpsa_crypto.c1629 psa_key_id_t volatile_key_id; in psa_start_key_creation()
/third_party/mbedtls/tests/src/drivers/
Dplatform_builtin_keys.c33 psa_key_id_t builtin_key_id;
76 psa_key_id_t app_key_id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(key_id); in mbedtls_psa_platform_get_builtin_key()
/third_party/mbedtls/docs/architecture/
Dmbed-crypto-storage-specification.md110psa_key_id_t`). In integrations where there is a concept of key owner (integration into a service …
399psa_key_id_t`). In integrations where there is a concept of key owner (integration into a service …
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal_mocks.function82 psa_key_id_t id;
Dtest_suite_psa_crypto_driver_wrappers.function2141 psa_key_id_t builtin_key_id = (psa_key_id_t) builtin_key_id_arg;
2192 psa_key_id_t builtin_key_id = (psa_key_id_t) builtin_key_id_arg;
Dtest_suite_psa_crypto_slot_management.function723 psa_key_id_t key_id;
Dtest_suite_ssl.function2867 mbedtls_svc_key_id_t psk0_opaque = mbedtls_svc_key_id_make(0x1, (psa_key_id_t) 1);
2874 mbedtls_svc_key_id_t psk1_opaque = mbedtls_svc_key_id_make(0x1, (psa_key_id_t) 2);
/third_party/mbedtls/docs/architecture/psa-migration/
Dstrategy.md497 `mbedtls_pk_context` object, which would probably change to a `psa_key_id_t`.
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md185 * For entry points that operate on an existing key, the `psa_key_id_t` parameter is replaced by a s…
194 * For entry points that are involved in key creation, the `psa_key_id_t *` output parameter is repl…
1024 psa_key_id_t key;
/third_party/mbedtls/
DChangeLog1505 identical to psa_key_id_t instead of being platform-defined. This bridges