Home
last modified time | relevance | path

Searched refs:actual_attributes (Results 1 – 4 of 4) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_storage_format.function151 psa_key_attributes_t actual_attributes = PSA_KEY_ATTRIBUTES_INIT;
162 PSA_ASSERT(psa_get_key_attributes(key_id, &actual_attributes));
164 psa_get_key_id(&actual_attributes)));
166 psa_get_key_lifetime(&actual_attributes));
168 psa_get_key_type(&actual_attributes));
170 psa_get_key_bits(&actual_attributes));
172 psa_get_key_usage_flags(&actual_attributes));
174 psa_get_key_algorithm(&actual_attributes));
176 psa_get_key_enrollment_algorithm(&actual_attributes));
186 if ((flags & TEST_FLAG_EXERCISE) && can_exercise(&actual_attributes)) {
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function530 psa_key_attributes_t actual_attributes = PSA_KEY_ATTRIBUTES_INIT;
532 PSA_ASSERT(psa_get_key_attributes(key, &actual_attributes));
535 psa_get_key_id(&actual_attributes),
537 TEST_EQUAL(psa_get_key_lifetime(&actual_attributes),
539 TEST_EQUAL(psa_get_key_type(&actual_attributes),
541 TEST_EQUAL(psa_get_key_usage_flags(&actual_attributes),
543 TEST_EQUAL(psa_get_key_algorithm(&actual_attributes),
545 TEST_EQUAL(psa_get_key_enrollment_algorithm(&actual_attributes),
548 TEST_EQUAL(psa_get_key_bits(&actual_attributes),
556 psa_get_key_lifetime(&actual_attributes);
[all …]
Dtest_suite_pk.function2464 psa_key_attributes_t actual_attributes = PSA_KEY_ATTRIBUTES_INIT;
2484 PSA_ASSERT(psa_get_key_attributes(to_key_id, &actual_attributes));
2485 TEST_EQUAL(to_type, psa_get_key_type(&actual_attributes));
2487 TEST_EQUAL(to_bits, psa_get_key_bits(&actual_attributes));
2489 TEST_EQUAL(to_alg, psa_get_key_algorithm(&actual_attributes));
2497 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&actual_attributes));
2511 psa_reset_key_attributes(&actual_attributes);
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_crypto.c2176 psa_key_attributes_t actual_attributes = *specified_attributes; in psa_copy_key() local
2199 actual_attributes.bits = source_slot->attr.bits; in psa_copy_key()
2200 actual_attributes.type = source_slot->attr.type; in psa_copy_key()
2204 &actual_attributes.policy, in psa_copy_key()
2210 status = psa_start_key_creation(PSA_KEY_CREATION_COPY, &actual_attributes, in psa_copy_key()
2233 if (psa_key_lifetime_is_external(actual_attributes.lifetime)) { in psa_copy_key()
2234 status = psa_driver_wrapper_get_key_buffer_size(&actual_attributes, in psa_copy_key()
2245 status = psa_driver_wrapper_copy_key(&actual_attributes, in psa_copy_key()