/third_party/mbedtls/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;
|
/third_party/mbedtls/tests/src/drivers/ |
D | platform_builtin_keys.c | 36 psa_drv_slot_number_t slot_number; member 75 psa_drv_slot_number_t *slot_number ) in mbedtls_psa_platform_get_builtin_key() argument 87 *slot_number = builtin_key->slot_number; in mbedtls_psa_platform_get_builtin_key()
|
D | test_driver_key_management.c | 422 psa_drv_slot_number_t slot_number = *( ( psa_drv_slot_number_t* ) key ); in mbedtls_test_opaque_export_key() local 424 switch( slot_number ) in mbedtls_test_opaque_export_key() 632 psa_drv_slot_number_t slot_number = *( ( psa_drv_slot_number_t* ) key ); in mbedtls_test_opaque_export_public_key() local 633 switch( slot_number ) in mbedtls_test_opaque_export_public_key() 671 psa_drv_slot_number_t slot_number, in mbedtls_test_opaque_get_builtin_key() argument 675 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 ); 195 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 | 1245 psa_key_slot_number_t *slot_number ) in psa_get_key_slot_number() argument 1249 *slot_number = attributes->slot_number; in psa_get_key_slot_number() 1631 psa_key_slot_number_t slot_number; in psa_start_key_creation() local 1633 &slot_number ); in psa_start_key_creation() 1641 psa_crypto_transaction.key.slot = slot_number; in psa_start_key_creation() 1652 slot, (uint8_t *)( &slot_number ), sizeof( slot_number ) ); in psa_start_key_creation() 1711 psa_key_slot_number_t slot_number = in psa_finish_key_creation() local 1715 static_assert( sizeof( slot_number ) == in psa_finish_key_creation() 1716 sizeof( data.slot_number ), in psa_finish_key_creation() 1719 memcpy( &data.slot_number, &slot_number, sizeof( slot_number ) ); in psa_finish_key_creation()
|
D | psa_crypto_driver_wrappers.h | 105 psa_drv_slot_number_t slot_number,
|
D | psa_crypto_driver_wrappers.c | 801 psa_drv_slot_number_t slot_number, in psa_driver_wrapper_get_builtin_key() argument 811 slot_number, in psa_driver_wrapper_get_builtin_key() 816 (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 | 341 psa_key_slot_number_t MBEDTLS_PRIVATE(slot_number);
|
/third_party/mbedtls/tests/include/test/drivers/ |
D | key_management.h | 116 psa_drv_slot_number_t slot_number,
|
/third_party/mbedtls/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()
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 807 psa_status_t acme_get_builtin_key(psa_drv_slot_number_t slot_number, 825 …the key's attributes in `*attributes`. In particular, `get_builtin_key(slot_number, &attributes, N…
|