/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_attributes.function | 97 psa_key_slot_number_t slot_number = 0xdeadbeef; 101 TEST_EQUAL(psa_get_key_slot_number(&attributes, &slot_number), 106 PSA_ASSERT(psa_get_key_slot_number(&attributes, &slot_number)); 107 TEST_EQUAL(slot_number, 0); 111 PSA_ASSERT(psa_get_key_slot_number(&attributes, &slot_number)); 112 TEST_EQUAL(slot_number, 42); 116 TEST_EQUAL(psa_get_key_slot_number(&attributes, &slot_number), 121 TEST_EQUAL(psa_get_key_slot_number(&attributes, &slot_number), 126 PSA_ASSERT(psa_get_key_slot_number(&attributes, &slot_number)); 127 TEST_EQUAL(slot_number, 42); [all …]
|
D | test_suite_psa_crypto_se_driver_hal.function | 123 psa_key_slot_number_t slot_number; 135 psa_key_slot_number_t slot_number) 140 DRIVER_ASSERT_RETURN(slot_number == 141 validate_slot_number_directions.slot_number); 157 psa_key_slot_number_t *slot_number) 170 *slot_number = *p_counter; 177 psa_key_slot_number_t slot_number, 184 (void) slot_number; 197 psa_key_slot_number_t slot_number, 204 (void) slot_number; [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 38 psa_key_slot_number_t slot_number; 45 psa_key_slot_number_t slot_number; 75 psa_key_slot_number_t slot_number; 166 psa_key_slot_number_t slot_number, 176 mock_export_data.slot_number = slot_number; 183 psa_key_slot_number_t slot_number, 193 mock_export_public_data.slot_number = slot_number; 263 psa_key_slot_number_t slot_number) 269 mock_destroy_data.slot_number = slot_number;
|
/third_party/mbedtls/tests/src/drivers/ |
D | platform_builtin_keys.c | 35 psa_drv_slot_number_t slot_number; member 74 psa_drv_slot_number_t *slot_number) in mbedtls_psa_platform_get_builtin_key() argument 84 *slot_number = builtin_key->slot_number; in mbedtls_psa_platform_get_builtin_key()
|
D | test_driver_key_management.c | 432 psa_drv_slot_number_t slot_number = *((psa_drv_slot_number_t *) key); in mbedtls_test_opaque_export_key() local 434 switch (slot_number) { in mbedtls_test_opaque_export_key() 639 psa_drv_slot_number_t slot_number = *((psa_drv_slot_number_t *) key); in mbedtls_test_opaque_export_public_key() local 640 switch (slot_number) { in mbedtls_test_opaque_export_public_key() 681 psa_drv_slot_number_t slot_number, in mbedtls_test_opaque_get_builtin_key() argument 685 switch (slot_number) { in mbedtls_test_opaque_get_builtin_key()
|
/third_party/mbedtls/library/ |
D | psa_crypto_se.h | 140 psa_key_slot_number_t *slot_number); 148 psa_key_slot_number_t slot_number); 194 uint8_t slot_number[sizeof(psa_key_slot_number_t)]; member
|
D | psa_crypto_se.c | 196 psa_key_slot_number_t *slot_number) in psa_find_se_slot_for_key() argument 212 if (psa_get_key_slot_number(attributes, slot_number) == PSA_SUCCESS) { in psa_find_se_slot_for_key() 225 *slot_number); in psa_find_se_slot_for_key() 241 slot_number); in psa_find_se_slot_for_key() 247 psa_key_slot_number_t slot_number) in psa_destroy_se_key() argument 266 slot_number); in psa_destroy_se_key()
|
D | psa_crypto_slot_management.c | 253 slot, data->slot_number, sizeof(data->slot_number)); in psa_load_persistent_key_into_slot() 273 psa_drv_slot_number_t slot_number = 0; in psa_load_builtin_key_into_slot() local 284 slot->attr.id, &lifetime, &slot_number); in psa_load_builtin_key_into_slot() 297 slot_number, &attributes, in psa_load_builtin_key_into_slot() 323 slot_number, &attributes, in psa_load_builtin_key_into_slot()
|
D | psa_crypto.c | 1304 psa_key_slot_number_t *slot_number) in psa_get_key_slot_number() argument 1307 *slot_number = attributes->slot_number; in psa_get_key_slot_number() 1689 psa_key_slot_number_t slot_number; in psa_start_key_creation() local 1691 &slot_number); in psa_start_key_creation() 1699 psa_crypto_transaction.key.slot = slot_number; in psa_start_key_creation() 1709 slot, (uint8_t *) (&slot_number), sizeof(slot_number)); in psa_start_key_creation() 1765 psa_key_slot_number_t slot_number = in psa_finish_key_creation() local 1768 MBEDTLS_STATIC_ASSERT(sizeof(slot_number) == in psa_finish_key_creation() 1769 sizeof(data.slot_number), in psa_finish_key_creation() 1772 memcpy(&data.slot_number, &slot_number, sizeof(slot_number)); in psa_finish_key_creation()
|
D | psa_crypto_driver_wrappers.h | 141 psa_drv_slot_number_t slot_number,
|
D | psa_crypto_driver_wrappers.c | 1069 psa_drv_slot_number_t slot_number, in psa_driver_wrapper_get_builtin_key() argument 1082 (slot_number, in psa_driver_wrapper_get_builtin_key() 1093 (void) slot_number; in psa_driver_wrapper_get_builtin_key()
|
/third_party/mbedtls/include/psa/ |
D | crypto_extra.h | 117 psa_key_slot_number_t *slot_number); 144 psa_key_slot_number_t slot_number) in psa_set_key_slot_number() argument 147 attributes->MBEDTLS_PRIVATE(slot_number) = slot_number; in psa_set_key_slot_number() 813 psa_drv_slot_number_t *slot_number);
|
D | crypto_struct.h | 348 psa_key_slot_number_t MBEDTLS_PRIVATE(slot_number);
|
/third_party/mbedtls/tests/include/test/drivers/ |
D | key_management.h | 122 psa_drv_slot_number_t slot_number,
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 72 psa_key_slot_number_t slot_number = 0xec94d4a5058a1a21; in check_key_attributes_sanity() local 73 psa_status_t status = psa_get_key_slot_number(&attributes, &slot_number); in check_key_attributes_sanity() 79 TEST_ASSERT(slot_number != 0xec94d4a5058a1a21); in check_key_attributes_sanity()
|
/third_party/mbedtls/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 1060 psa_drv_slot_number_t slot_number, 1066 slot_number, 1081 (void) slot_number;
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 980 psa_status_t acme_get_builtin_key(psa_drv_slot_number_t slot_number, 998 …the key's attributes in `*attributes`. In particular, `get_builtin_key(slot_number, &attributes, N…
|