Searched refs:actual_attributes (Results 1 – 4 of 4) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_storage_format.function | 151 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 …]
|
D | test_suite_psa_crypto_se_driver_hal.function | 543 psa_key_attributes_t actual_attributes = PSA_KEY_ATTRIBUTES_INIT; 545 PSA_ASSERT(psa_get_key_attributes(key, &actual_attributes)); 548 psa_get_key_id(&actual_attributes), 550 TEST_EQUAL(psa_get_key_lifetime(&actual_attributes), 552 TEST_EQUAL(psa_get_key_type(&actual_attributes), 554 TEST_EQUAL(psa_get_key_usage_flags(&actual_attributes), 556 TEST_EQUAL(psa_get_key_algorithm(&actual_attributes), 558 TEST_EQUAL(psa_get_key_enrollment_algorithm(&actual_attributes), 561 TEST_EQUAL(psa_get_key_bits(&actual_attributes), 569 psa_get_key_lifetime(&actual_attributes); [all …]
|
D | test_suite_pk.function | 2444 psa_key_attributes_t actual_attributes = PSA_KEY_ATTRIBUTES_INIT; 2461 PSA_ASSERT(psa_get_key_attributes(to_key_id, &actual_attributes)); 2462 TEST_EQUAL(to_type, psa_get_key_type(&actual_attributes)); 2464 TEST_EQUAL(to_bits, psa_get_key_bits(&actual_attributes)); 2466 TEST_EQUAL(to_alg, psa_get_key_algorithm(&actual_attributes)); 2474 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&actual_attributes)); 2488 psa_reset_key_attributes(&actual_attributes);
|
/mbedtls-latest/library/ |
D | psa_crypto.c | 2232 psa_key_attributes_t actual_attributes = *specified_attributes; local 2255 actual_attributes.bits = source_slot->attr.bits; 2256 actual_attributes.type = source_slot->attr.type; 2260 &actual_attributes.policy, 2266 status = psa_start_key_creation(PSA_KEY_CREATION_COPY, &actual_attributes, 2289 if (psa_key_lifetime_is_external(actual_attributes.lifetime)) { 2290 status = psa_driver_wrapper_get_key_buffer_size(&actual_attributes, 2301 status = psa_driver_wrapper_copy_key(&actual_attributes,
|