/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_attributes.function | 94 psa_key_slot_number_t slot_number = 0xdeadbeef; 98 TEST_EQUAL( psa_get_key_slot_number( &attributes, &slot_number ), 103 PSA_ASSERT( psa_get_key_slot_number( &attributes, &slot_number ) ); 104 TEST_EQUAL( slot_number, 0 ); 108 PSA_ASSERT( psa_get_key_slot_number( &attributes, &slot_number ) ); 109 TEST_EQUAL( slot_number, 42 ); 113 TEST_EQUAL( psa_get_key_slot_number( &attributes, &slot_number ), 118 TEST_EQUAL( psa_get_key_slot_number( &attributes, &slot_number ), 123 PSA_ASSERT( psa_get_key_slot_number( &attributes, &slot_number ) ); 124 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 ) 168 *slot_number = *p_counter; 174 psa_key_slot_number_t slot_number, 181 (void) slot_number; 192 psa_key_slot_number_t slot_number, 199 (void) slot_number; [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 42 psa_key_slot_number_t slot_number; 50 psa_key_slot_number_t slot_number; 84 psa_key_slot_number_t slot_number; 173 psa_key_slot_number_t slot_number, 183 mock_export_data.slot_number = slot_number; 190 psa_key_slot_number_t slot_number, 200 mock_export_public_data.slot_number = slot_number; 270 psa_key_slot_number_t slot_number ) 276 mock_destroy_data.slot_number = slot_number;
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/src/drivers/ |
D | platform_builtin_keys.c | 34 psa_drv_slot_number_t slot_number; member 73 psa_drv_slot_number_t *slot_number ) in mbedtls_psa_platform_get_builtin_key() argument 85 *slot_number = builtin_key->slot_number; in mbedtls_psa_platform_get_builtin_key()
|
D | test_driver_key_management.c | 239 psa_drv_slot_number_t slot_number = *( ( psa_drv_slot_number_t* ) key ); in mbedtls_test_opaque_export_key() local 241 switch( slot_number ) in mbedtls_test_opaque_export_key() 369 psa_drv_slot_number_t slot_number = *( ( psa_drv_slot_number_t* ) key ); in mbedtls_test_opaque_export_public_key() local 370 switch( slot_number ) in mbedtls_test_opaque_export_public_key() 408 psa_drv_slot_number_t slot_number, in mbedtls_test_opaque_get_builtin_key() argument 412 switch( slot_number ) in mbedtls_test_opaque_get_builtin_key()
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | psa_crypto_se.h | 144 psa_key_slot_number_t *slot_number ); 152 psa_key_slot_number_t slot_number ); 199 uint8_t slot_number[sizeof( psa_key_slot_number_t )]; member
|
D | psa_crypto_se.c | 198 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() 244 slot_number ); in psa_find_se_slot_for_key() 250 psa_key_slot_number_t slot_number ) in psa_destroy_se_key() argument 268 slot_number ); in psa_destroy_se_key()
|
D | psa_crypto_slot_management.c | 264 slot, data->slot_number, sizeof( data->slot_number ) ); in psa_load_persistent_key_into_slot() 284 psa_drv_slot_number_t slot_number = 0; in psa_load_builtin_key_into_slot() local 296 slot->attr.id, &lifetime, &slot_number ); in psa_load_builtin_key_into_slot() 308 slot_number, &attributes, in psa_load_builtin_key_into_slot() 332 slot_number, &attributes, in psa_load_builtin_key_into_slot()
|
D | psa_crypto.c | 1321 psa_key_slot_number_t *slot_number ) in psa_get_key_slot_number() argument 1325 *slot_number = attributes->slot_number; in psa_get_key_slot_number() 1707 psa_key_slot_number_t slot_number; in psa_start_key_creation() local 1709 &slot_number ); in psa_start_key_creation() 1717 psa_crypto_transaction.key.slot = slot_number; in psa_start_key_creation() 1728 slot, (uint8_t *)( &slot_number ), sizeof( slot_number ) ); in psa_start_key_creation() 1787 psa_key_slot_number_t slot_number = in psa_finish_key_creation() local 1791 static_assert( sizeof( slot_number ) == in psa_finish_key_creation() 1792 sizeof( data.slot_number ), in psa_finish_key_creation() 1795 memcpy( &data.slot_number, &slot_number, sizeof( slot_number ) ); in psa_finish_key_creation()
|
D | psa_crypto_driver_wrappers.h | 99 psa_drv_slot_number_t slot_number,
|
D | psa_crypto_driver_wrappers.c | 750 psa_drv_slot_number_t slot_number, in psa_driver_wrapper_get_builtin_key() argument 760 slot_number, in psa_driver_wrapper_get_builtin_key() 765 (void) slot_number; in psa_driver_wrapper_get_builtin_key()
|
/openthread-3.5.0/third_party/mbedtls/repo/include/psa/ |
D | crypto_extra.h | 116 psa_key_slot_number_t *slot_number ); 143 psa_key_slot_number_t slot_number ) in psa_set_key_slot_number() argument 146 attributes->slot_number = slot_number; in psa_set_key_slot_number() 810 psa_drv_slot_number_t *slot_number );
|
D | crypto_struct.h | 326 psa_key_slot_number_t slot_number; member
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/include/test/drivers/ |
D | key_management.h | 97 psa_drv_slot_number_t slot_number,
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/src/ |
D | psa_exercise_key.c | 75 psa_key_slot_number_t slot_number = 0xec94d4a5058a1a21; in check_key_attributes_sanity() local 76 psa_status_t status = psa_get_key_slot_number( &attributes, &slot_number ); in check_key_attributes_sanity() 83 TEST_ASSERT( slot_number != 0xec94d4a5058a1a21 ); in check_key_attributes_sanity()
|
/openthread-3.5.0/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-interface.md | 804 psa_status_t acme_get_builtin_key(psa_drv_slot_number_t slot_number, 822 …the key's attributes in `*attributes`. In particular, `get_builtin_key(slot_number, &attributes, N…
|