Searched refs:psa_get_key_lifetime (Results 1 – 18 of 18) sorted by relevance
/mbedtls-latest/library/ |
D | psa_crypto_driver_wrappers.h | 169 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_sign_message() 258 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_verify_message() 341 if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) ) in psa_driver_wrapper_sign_hash() 358 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_sign_hash() 460 if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) ) in psa_driver_wrapper_verify_hash() 477 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_verify_hash() 621 psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_sign_hash_start() 716 psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_verify_hash_start() 817 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_get_key_buffer_size_from_key_data() 847 PSA_KEY_LIFETIME_GET_LOCATION(psa_get_key_lifetime(attributes)); in psa_driver_wrapper_generate_key() [all …]
|
D | psa_crypto_driver_wrappers_no_static.c | 119 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_get_key_buffer_size() 166 psa_get_key_lifetime( attributes ) ); in psa_driver_wrapper_export_public_key() 173 if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) ) in psa_driver_wrapper_export_public_key() 277 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); in psa_driver_wrapper_get_builtin_key()
|
D | psa_crypto_se.c | 188 PSA_KEY_LIFETIME_GET_LOCATION(psa_get_key_lifetime(attributes)); in psa_find_se_slot_for_key()
|
D | psa_crypto.c | 1718 psa_key_lifetime_t lifetime = psa_get_key_lifetime(attributes); 2201 if (PSA_KEY_LIFETIME_IS_VOLATILE(psa_get_key_lifetime(attributes))) {
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_attributes.function | 27 TEST_EQUAL(psa_get_key_lifetime(&attributes), 0); 42 TEST_EQUAL(psa_get_key_lifetime(&attributes), lifetime); 54 TEST_EQUAL(psa_get_key_lifetime(&attributes), 0); 90 TEST_EQUAL(psa_get_key_lifetime(&attributes), expected_lifetime);
|
D | test_suite_psa_crypto_persistent_key.function | 100 TEST_EQUAL(psa_get_key_lifetime(&attributes), 235 TEST_EQUAL(psa_get_key_lifetime(&attributes), 292 TEST_EQUAL(psa_get_key_lifetime(&attributes),
|
D | test_suite_psa_crypto_slot_management.function | 263 TEST_EQUAL(psa_get_key_lifetime(&attributes), lifetime); 283 TEST_EQUAL(psa_get_key_lifetime(&attributes), lifetime); 315 TEST_EQUAL(psa_get_key_lifetime(&attributes), 316 psa_get_key_lifetime(&read_attributes)); 420 TEST_EQUAL(psa_get_key_lifetime(&attributes), lifetime); 592 TEST_EQUAL(target_lifetime, psa_get_key_lifetime(&target_attributes)); 704 TEST_EQUAL(psa_get_key_lifetime(&attributes1), 705 psa_get_key_lifetime(&attributes2));
|
D | test_suite_psa_crypto_generate_key.function | 36 TEST_EQUAL(psa_get_key_lifetime(&attributes), PSA_KEY_LIFETIME_VOLATILE);
|
D | test_suite_psa_crypto_storage_format.function | 165 TEST_EQUAL(psa_get_key_lifetime(expected_attributes), 166 psa_get_key_lifetime(&actual_attributes));
|
D | test_suite_psa_crypto_se_driver_hal.function | 287 ram_slots[slot_number].lifetime = psa_get_key_lifetime(attributes); 550 TEST_EQUAL(psa_get_key_lifetime(&actual_attributes), 551 psa_get_key_lifetime(reference_attributes)); 569 psa_get_key_lifetime(&actual_attributes);
|
D | test_suite_pk.function | 1896 TEST_EQUAL(psa_get_key_lifetime(&attributes), PSA_KEY_LIFETIME_VOLATILE); 2150 TEST_EQUAL(psa_get_key_lifetime(&attributes), lifetime); 2198 TEST_EQUAL(psa_get_key_lifetime(&attributes), PSA_KEY_LIFETIME_VOLATILE); 2306 TEST_EQUAL(psa_get_key_lifetime(&attributes), expected_lifetime); 2316 TEST_EQUAL(psa_get_key_lifetime(&attributes), expected_lifetime); 2366 TEST_EQUAL(psa_get_key_lifetime(&attributes), PSA_KEY_LIFETIME_VOLATILE);
|
D | test_suite_psa_crypto.function | 239 TEST_EQUAL(psa_get_key_lifetime(&attributes), 0); 2117 TEST_EQUAL(psa_get_key_lifetime(&func), PSA_KEY_LIFETIME_VOLATILE); 2118 TEST_EQUAL(psa_get_key_lifetime(&init), PSA_KEY_LIFETIME_VOLATILE); 2119 TEST_EQUAL(psa_get_key_lifetime(&zero), PSA_KEY_LIFETIME_VOLATILE); 10458 TEST_EQUAL(psa_get_key_lifetime(&attributes),
|
/mbedtls-latest/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.h.jinja | 125 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); 199 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); 269 if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) ) 286 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); 373 if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) ) 390 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); 520 psa_get_key_lifetime(attributes) ); 612 psa_get_key_lifetime(attributes) ); 710 PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); 740 PSA_KEY_LIFETIME_GET_LOCATION(psa_get_key_lifetime(attributes)); [all …]
|
D | psa_crypto_driver_wrappers_no_static.c.jinja | 91 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) ); 140 psa_get_key_lifetime( attributes ) ); 147 if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) ) 206 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) );
|
/mbedtls-latest/include/psa/ |
D | crypto_struct.h | 377 static inline psa_key_lifetime_t psa_get_key_lifetime( in psa_get_key_lifetime() function
|
D | crypto.h | 212 static psa_key_lifetime_t psa_get_key_lifetime(
|
/mbedtls-latest/tests/src/ |
D | psa_exercise_key.c | 57 lifetime = psa_get_key_lifetime(&attributes); in check_key_attributes_sanity()
|
/mbedtls-latest/docs/proposed/ |
D | psa-driver-interface.md | 1253 On entry, `psa_get_key_lifetime(attributes)` is the location at which the driver was declared and a…
|