Home
last modified time | relevance | path

Searched refs:slot_number (Results 1 – 16 of 16) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_attributes.function94 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 …]
Dtest_suite_psa_crypto_se_driver_hal.function123 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 …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function42 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.4.0/third_party/mbedtls/repo/tests/src/drivers/
Dplatform_builtin_keys.c34 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()
Dtest_driver_key_management.c239 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.4.0/third_party/mbedtls/repo/library/
Dpsa_crypto_se.h144 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
Dpsa_crypto_se.c198 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()
Dpsa_crypto_slot_management.c264 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()
Dpsa_crypto.c1321 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()
Dpsa_crypto_driver_wrappers.h99 psa_drv_slot_number_t slot_number,
Dpsa_crypto_driver_wrappers.c750 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.4.0/third_party/mbedtls/repo/include/psa/
Dcrypto_extra.h116 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 );
Dcrypto_struct.h326 psa_key_slot_number_t slot_number; member
/openthread-3.4.0/third_party/mbedtls/repo/tests/include/test/drivers/
Dkey_management.h97 psa_drv_slot_number_t slot_number,
/openthread-3.4.0/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c75 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.4.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md804 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…