/third_party/mbedtls/include/psa/ |
D | crypto.h | 141 mbedtls_svc_key_id_t key ); 202 static mbedtls_svc_key_id_t psa_get_key_id( 384 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key, 428 psa_status_t psa_purge_key(mbedtls_svc_key_id_t key); 521 psa_status_t psa_copy_key(mbedtls_svc_key_id_t source_key, 523 mbedtls_svc_key_id_t *target_key); 571 psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key); 655 mbedtls_svc_key_id_t *key); 747 psa_status_t psa_export_key(mbedtls_svc_key_id_t key, 822 psa_status_t psa_export_public_key(mbedtls_svc_key_id_t key, [all …]
|
D | crypto_values.h | 2210 static inline mbedtls_svc_key_id_t mbedtls_svc_key_id_make( in mbedtls_svc_key_id_make() 2225 static inline int mbedtls_svc_key_id_equal( mbedtls_svc_key_id_t id1, in mbedtls_svc_key_id_equal() 2226 mbedtls_svc_key_id_t id2 ) in mbedtls_svc_key_id_equal() 2237 static inline int mbedtls_svc_key_id_is_null( mbedtls_svc_key_id_t key ) in mbedtls_svc_key_id_is_null() 2244 #define MBEDTLS_SVC_KEY_ID_INIT ( (mbedtls_svc_key_id_t){ 0, 0 } ) 2253 static inline mbedtls_svc_key_id_t mbedtls_svc_key_id_make( in mbedtls_svc_key_id_make() 2256 return( (mbedtls_svc_key_id_t){ .MBEDTLS_PRIVATE(key_id) = key_id, in mbedtls_svc_key_id_make() 2267 static inline int mbedtls_svc_key_id_equal( mbedtls_svc_key_id_t id1, in mbedtls_svc_key_id_equal() 2268 mbedtls_svc_key_id_t id2 ) in mbedtls_svc_key_id_equal() 2280 static inline int mbedtls_svc_key_id_is_null( mbedtls_svc_key_id_t key ) in mbedtls_svc_key_id_is_null()
|
D | crypto_compat.h | 43 typedef mbedtls_svc_key_id_t psa_key_handle_t; 118 psa_status_t psa_open_key( mbedtls_svc_key_id_t key,
|
D | crypto_types.h | 228 typedef psa_key_id_t mbedtls_svc_key_id_t; typedef 240 } mbedtls_svc_key_id_t; typedef
|
D | crypto_struct.h | 327 mbedtls_svc_key_id_t MBEDTLS_PRIVATE(id); 360 mbedtls_svc_key_id_t key ) in psa_set_key_id() 375 static inline mbedtls_svc_key_id_t psa_get_key_id( in psa_get_key_id()
|
D | crypto_extra.h | 811 mbedtls_svc_key_id_t key_id, 1405 mbedtls_svc_key_id_t password);
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 43 static int check_key_attributes_sanity( mbedtls_svc_key_id_t key ) in check_key_attributes_sanity() 48 mbedtls_svc_key_id_t id; in check_key_attributes_sanity() 117 static int exercise_mac_key( mbedtls_svc_key_id_t key, in exercise_mac_key() 162 static int exercise_cipher_key( mbedtls_svc_key_id_t key, in exercise_cipher_key() 235 static int exercise_aead_key( mbedtls_svc_key_id_t key, in exercise_aead_key() 297 static int exercise_signature_key( mbedtls_svc_key_id_t key, in exercise_signature_key() 381 static int exercise_asymmetric_encryption_key( mbedtls_svc_key_id_t key, in exercise_asymmetric_encryption_key() 421 mbedtls_svc_key_id_t key, in mbedtls_test_psa_setup_key_derivation_wrap() 469 static int exercise_key_derivation_key( mbedtls_svc_key_id_t key, in exercise_key_derivation_key() 505 mbedtls_svc_key_id_t key ) in mbedtls_test_psa_key_agreement_with_self() [all …]
|
D | psa_crypto_helpers.c | 36 static mbedtls_svc_key_id_t key_ids_used_in_test[9]; 39 int mbedtls_test_uses_key_id( mbedtls_svc_key_id_t key_id ) in mbedtls_test_uses_key_id()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_slot_management.function | 50 mbedtls_svc_key_id_t key ) 123 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 151 mbedtls_svc_key_id_t key_with_invalid_owner = 202 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( owner_id_arg, id_arg ); 208 mbedtls_svc_key_id_t returned_id = MBEDTLS_SVC_KEY_ID_INIT; 216 mbedtls_svc_key_id_t wrong_owner_id = 218 mbedtls_svc_key_id_t invalid_svc_key_id = MBEDTLS_SVC_KEY_ID_INIT; 357 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( owner_id_arg, id_arg ); 358 mbedtls_svc_key_id_t returned_id = MBEDTLS_SVC_KEY_ID_INIT; 428 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, id_arg ); [all …]
|
D | test_suite_psa_crypto_persistent_key.function | 119 mbedtls_svc_key_id_t key_id = mbedtls_svc_key_id_make( 1, 42 ); 149 mbedtls_svc_key_id_t key_id = 151 mbedtls_svc_key_id_t returned_key_id = MBEDTLS_SVC_KEY_ID_INIT; 200 mbedtls_svc_key_id_t key_id = 202 mbedtls_svc_key_id_t returned_key_id; 258 mbedtls_svc_key_id_t key_id = mbedtls_svc_key_id_make( 1, 42 ); 260 mbedtls_svc_key_id_t returned_key_id = MBEDTLS_SVC_KEY_ID_INIT; 330 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, id_arg );
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 334 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 335 mbedtls_svc_key_id_t returned_id; 403 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 404 mbedtls_svc_key_id_t returned_id; 457 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 458 mbedtls_svc_key_id_t returned_id; 524 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 525 mbedtls_svc_key_id_t returned_id; 574 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 575 mbedtls_svc_key_id_t returned_id; [all …]
|
D | test_suite_psa_crypto_attributes.function | 16 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( owner_id_arg, id_arg ); 69 mbedtls_svc_key_id_t id1 = 72 mbedtls_svc_key_id_t id2 = 74 mbedtls_svc_key_id_t expected_id =
|
D | test_suite_psa_crypto_se_driver_hal.function | 370 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 453 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 486 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 525 mbedtls_svc_key_id_t key, 661 static int smoke_test_key( mbedtls_svc_key_id_t key ) 671 mbedtls_svc_key_id_t key2 = MBEDTLS_SVC_KEY_ID_INIT; 862 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 863 mbedtls_svc_key_id_t returned_id = MBEDTLS_SVC_KEY_ID_INIT; 998 mbedtls_svc_key_id_t id = mbedtls_svc_key_id_make( 1, 1 ); 999 mbedtls_svc_key_id_t returned_id; [all …]
|
D | test_suite_psa_crypto.function | 149 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 182 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 209 static int test_operations_on_invalid_key( mbedtls_svc_key_id_t key ) 212 mbedtls_svc_key_id_t key_id = mbedtls_svc_key_id_make( 1, 0x6964 ); 330 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 618 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 668 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 713 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 764 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 809 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; [all …]
|
D | test_suite_psa_crypto_not_supported.function | 19 mbedtls_svc_key_id_t key_id = INVALID_KEY_ID; 39 mbedtls_svc_key_id_t key_id = INVALID_KEY_ID;
|
D | test_suite_psa_crypto_driver_wrappers.function | 20 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 78 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 134 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 194 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 249 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 324 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 430 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 521 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 653 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 783 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; [all …]
|
D | test_suite_psa_crypto_storage_format.function | 24 mbedtls_svc_key_id_t created_key_id = MBEDTLS_SVC_KEY_ID_INIT; 76 mbedtls_svc_key_id_t key_id = psa_get_key_id( expected_attributes ); 166 mbedtls_svc_key_id_t key_id = mbedtls_svc_key_id_make( 0, 1 ); 210 mbedtls_svc_key_id_t key_id = mbedtls_svc_key_id_make( 0, 1 );
|
D | test_suite_psa_crypto_entropy.function | 47 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; 80 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT;
|
/third_party/mbedtls/tests/include/test/ |
D | psa_exercise_key.h | 161 mbedtls_svc_key_id_t key, 181 mbedtls_svc_key_id_t key ); 200 mbedtls_svc_key_id_t key ); 251 int mbedtls_test_psa_exercise_key( mbedtls_svc_key_id_t key,
|
/third_party/mbedtls/library/ |
D | psa_crypto_storage.c | 58 static psa_storage_uid_t psa_its_identifier_of_slot( mbedtls_svc_key_id_t key ) in psa_its_identifier_of_slot() 95 const mbedtls_svc_key_id_t key, uint8_t *data, size_t data_size ) in psa_crypto_storage_load() 113 int psa_is_key_present_in_storage( const mbedtls_svc_key_id_t key ) in psa_is_key_present_in_storage() 143 static psa_status_t psa_crypto_storage_store( const mbedtls_svc_key_id_t key, in psa_crypto_storage_store() 184 psa_status_t psa_destroy_persistent_key( const mbedtls_svc_key_id_t key ) in psa_destroy_persistent_key() 217 const mbedtls_svc_key_id_t key, in psa_crypto_storage_get_data_length() 373 mbedtls_svc_key_id_t key = attr->id; in psa_load_persistent_key()
|
D | psa_crypto_storage.h | 75 int psa_is_key_present_in_storage( const mbedtls_svc_key_id_t key ); 153 psa_status_t psa_destroy_persistent_key( const mbedtls_svc_key_id_t key ); 303 mbedtls_svc_key_id_t id;
|
D | psa_crypto.c | 889 mbedtls_svc_key_id_t key, in psa_get_and_lock_key_slot_with_policy() 948 mbedtls_svc_key_id_t key, in psa_get_and_lock_transparent_key_slot_with_policy() 1014 psa_status_t psa_destroy_key( mbedtls_svc_key_id_t key ) in psa_destroy_key() 1176 psa_status_t psa_get_key_attributes( mbedtls_svc_key_id_t key, in psa_get_key_attributes() 1296 psa_status_t psa_export_key( mbedtls_svc_key_id_t key, in psa_export_key() 1400 psa_status_t psa_export_public_key( mbedtls_svc_key_id_t key, in psa_export_public_key() 1495 mbedtls_svc_key_id_t key = psa_get_key_id( attributes ); in psa_validate_key_attributes() 1698 mbedtls_svc_key_id_t *key) in psa_finish_key_creation() 1884 mbedtls_svc_key_id_t *key ) in psa_import_key() 1970 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT; in mbedtls_psa_register_se_key() [all …]
|
D | psa_crypto_slot_management.c | 54 int psa_is_valid_key_id( mbedtls_svc_key_id_t key, int vendor_ok ) in psa_is_valid_key_id() 102 mbedtls_svc_key_id_t key, psa_key_slot_t **p_slot ) in psa_get_and_lock_key_slot_in_memory() 348 psa_status_t psa_get_and_lock_key_slot( mbedtls_svc_key_id_t key, in psa_get_and_lock_key_slot() 480 psa_status_t psa_open_key( mbedtls_svc_key_id_t key, psa_key_handle_t *handle ) in psa_open_key() 530 psa_status_t psa_purge_key( mbedtls_svc_key_id_t key ) in psa_purge_key()
|
D | psa_crypto_slot_management.h | 95 psa_status_t psa_get_and_lock_key_slot( mbedtls_svc_key_id_t key, 222 int psa_is_valid_key_id( mbedtls_svc_key_id_t key, int vendor_ok );
|
/third_party/mbedtls/tests/src/drivers/ |
D | platform_builtin_keys.c | 73 mbedtls_svc_key_id_t key_id, in mbedtls_psa_platform_get_builtin_key()
|