Home
last modified time | relevance | path

Searched refs:new_key_id (Results 1 – 2 of 2) sorted by relevance

/mbedtls-latest/tests/suites/
Dtest_suite_pk.function625 mbedtls_svc_key_id_t new_key_id = MBEDTLS_SVC_KEY_ID_INIT;
631 PSA_ASSERT(psa_copy_key(orig_key_id, &new_attr, &new_key_id));
637 return new_key_id;
2119 mbedtls_svc_key_id_t new_key_id = MBEDTLS_SVC_KEY_ID_INIT;
2160 TEST_EQUAL(mbedtls_pk_import_into_psa(&pk, &attributes, &new_key_id), 0);
2161 if (!mbedtls_test_key_consistency_psa_pk(new_key_id, &pk)) {
2168 psa_destroy_key(new_key_id);
2182 mbedtls_svc_key_id_t new_key_id = MBEDTLS_SVC_KEY_ID_INIT;
2208 TEST_EQUAL(mbedtls_pk_import_into_psa(&pk, &attributes, &new_key_id), 0);
2209 if (!mbedtls_test_key_consistency_psa_pk(new_key_id, &pk)) {
[all …]
/mbedtls-latest/library/
Dpk.c590 mbedtls_svc_key_id_t *new_key_id) in export_import_into_psa() argument
600 status = psa_import_key(attributes, key_buffer, key_length, new_key_id); in export_import_into_psa()
607 mbedtls_svc_key_id_t *new_key_id) in copy_into_psa() argument
611 psa_status_t status = psa_copy_key(old_key_id, attributes, new_key_id); in copy_into_psa()
635 status = export_import_into_psa(old_key_id, attributes, new_key_id); in copy_into_psa()