Home
last modified time | relevance | path

Searched refs:psa_get_key_lifetime (Results 1 – 18 of 18) sorted by relevance

/mbedtls-latest/library/
Dpsa_crypto_driver_wrappers.h169 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 …]
Dpsa_crypto_driver_wrappers_no_static.c119 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()
Dpsa_crypto_se.c188 PSA_KEY_LIFETIME_GET_LOCATION(psa_get_key_lifetime(attributes)); in psa_find_se_slot_for_key()
Dpsa_crypto.c1718 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/
Dtest_suite_psa_crypto_attributes.function27 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);
Dtest_suite_psa_crypto_persistent_key.function100 TEST_EQUAL(psa_get_key_lifetime(&attributes),
235 TEST_EQUAL(psa_get_key_lifetime(&attributes),
292 TEST_EQUAL(psa_get_key_lifetime(&attributes),
Dtest_suite_psa_crypto_slot_management.function263 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));
Dtest_suite_psa_crypto_generate_key.function36 TEST_EQUAL(psa_get_key_lifetime(&attributes), PSA_KEY_LIFETIME_VOLATILE);
Dtest_suite_psa_crypto_storage_format.function165 TEST_EQUAL(psa_get_key_lifetime(expected_attributes),
166 psa_get_key_lifetime(&actual_attributes));
Dtest_suite_psa_crypto_se_driver_hal.function287 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);
Dtest_suite_pk.function1896 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);
Dtest_suite_psa_crypto.function239 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/
Dpsa_crypto_driver_wrappers.h.jinja125 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 …]
Dpsa_crypto_driver_wrappers_no_static.c.jinja91 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/
Dcrypto_struct.h377 static inline psa_key_lifetime_t psa_get_key_lifetime( in psa_get_key_lifetime() function
Dcrypto.h212 static psa_key_lifetime_t psa_get_key_lifetime(
/mbedtls-latest/tests/src/
Dpsa_exercise_key.c57 lifetime = psa_get_key_lifetime(&attributes); in check_key_attributes_sanity()
/mbedtls-latest/docs/proposed/
Dpsa-driver-interface.md1253 On entry, `psa_get_key_lifetime(attributes)` is the location at which the driver was declared and a…