Home
last modified time | relevance | path

Searched refs:psa_get_key_attributes (Results 1 – 25 of 29) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_slot_management.function139 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
152 TEST_EQUAL(psa_get_key_attributes(key_with_invalid_owner, &attributes),
162 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
176 TEST_EQUAL(psa_get_key_attributes(key, &attributes),
182 * Key attributes may have been returned by psa_get_key_attributes()
237 PSA_ASSERT(psa_get_key_attributes(id, &attributes));
257 PSA_ASSERT(psa_get_key_attributes(handle, &attributes));
289 PSA_ASSERT(psa_get_key_attributes(id, &read_attributes));
325 TEST_EQUAL(psa_get_key_attributes(handle, &read_attributes),
328 TEST_EQUAL(psa_get_key_attributes(id, &read_attributes),
[all …]
Dtest_suite_psa_crypto_persistent_key.function232 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
245 * Key attributes may have been returned by psa_get_key_attributes()
289 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
316 * Key attributes may have been returned by psa_get_key_attributes()
Dtest_suite_psa_crypto_generate_key.function35 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
Dtest_suite_psa_crypto.function255 TEST_EQUAL(psa_get_key_attributes(key, &attributes),
277 * Key attributes may have been returned by psa_get_key_attributes()
406 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1401 status = psa_get_key_attributes(skc->key, &got_attributes);
1410 * 4: This thread calls psa_get_key_attributes(skc->key,...):
1425 /* Key attributes may have been returned by psa_get_key_attributes(),
1495 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
1511 * Key attributes may have been returned by psa_get_key_attributes()
1580 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
1592 * Key attributes may have been returned by psa_get_key_attributes()
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function523 /* Check that the attributes of a key reported by psa_get_key_attributes()
532 PSA_ASSERT(psa_get_key_attributes(key, &actual_attributes));
577 * Actual key attributes may have been returned by psa_get_key_attributes()
673 SMOKE_ASSERT(psa_get_key_attributes(key, &attributes));
762 * Key attributes may have been returned by psa_get_key_attributes()
1060 PSA_ASSERT(psa_get_key_attributes(id, &attributes));
1072 * Key attributes may have been returned by psa_get_key_attributes()
1356 PSA_ASSERT(psa_get_key_attributes(id, &drv_attributes));
1435 * Driver key attributes may have been returned by psa_get_key_attributes()
Dtest_suite_psa_crypto_driver_wrappers.function535 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
662 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
977 PSA_ASSERT(psa_get_key_attributes(our_key, &attributes));
1678 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1746 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2160 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2211 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2526 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2597 * Key attributes may have been returned by psa_get_key_attributes()
2667 * Key attributes may have been returned by psa_get_key_attributes()
[all …]
Dtest_suite_pk.function543 PSA_ASSERT(psa_get_key_attributes(priv_id, &attributes));
578 PSA_ASSERT(psa_get_key_attributes(orig_key_id, &orig_attr));
751 TEST_ASSERT(PSA_SUCCESS == psa_get_key_attributes(key, &attributes));
756 * Key attributes may have been returned by psa_get_key_attributes()
1917 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
2331 PSA_ASSERT(psa_get_key_attributes(new_key_id, &attributes));
2484 PSA_ASSERT(psa_get_key_attributes(to_key_id, &actual_attributes));
Dtest_suite_psa_crypto_op_fail.function257 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
Dtest_suite_psa_crypto_storage_format.function162 PSA_ASSERT(psa_get_key_attributes(key_id, &actual_attributes));
/openthread-latest/third_party/mbedtls/repo/tests/include/spe/
Dcrypto_spe.h60 #define psa_get_key_attributes \ macro
61 PSA_FUNCTION_NAME(psa_get_key_attributes)
/openthread-latest/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c50 psa_status_t status = psa_get_key_attributes(key, &attributes); in check_key_attributes_sanity()
192 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_cipher_key()
283 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_aead_key()
640 psa_status_t status = psa_get_key_attributes(key, &attributes); in mbedtls_test_psa_key_agreement_with_self()
697 psa_status_t status = psa_get_key_attributes(key, &attributes); in mbedtls_test_psa_raw_key_agreement_with_self()
800 psa_status_t status = psa_get_key_attributes(key, &attributes); in exercise_key_agreement_key()
1015 psa_status_t status = psa_get_key_attributes(key, &attributes); in exercise_export_key()
1065 psa_status_t status = psa_get_key_attributes(key, &attributes); in exercise_export_public_key()
1250 PSA_ASSERT(psa_get_key_attributes(psa_key, &psa_attributes)); in mbedtls_test_key_consistency_psa_pk()
1302 PSA_ASSERT(psa_get_key_attributes(pk->priv_id, &pk_attributes)); in mbedtls_test_key_consistency_psa_pk()
Dpsa_crypto_stubs.c49 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key, in psa_get_key_attributes() function
Dpsa_test_wrappers.c625 psa_status_t status = (psa_get_key_attributes)(arg0_key, arg1_attributes); in mbedtls_test_wrap_psa_get_key_attributes()
/openthread-latest/third_party/mbedtls/repo/library/
Dpk.c171 if (PSA_SUCCESS != psa_get_key_attributes(key, &attributes)) { in mbedtls_pk_setup_opaque()
321 status = psa_get_key_attributes(ctx->priv_id, &attributes); in mbedtls_pk_can_do_ext()
527 status = psa_get_key_attributes(pk->priv_id, &old_attributes); in mbedtls_pk_get_psa_attributes()
630 status = psa_get_key_attributes(old_key_id, &old_attributes); in copy_into_psa()
813 psa_get_key_attributes(pk->priv_id, &old_attributes); in import_public_into_psa()
882 status = psa_get_key_attributes(key_id, &key_attr); in copy_from_psa()
1337 status = psa_get_key_attributes(ctx->priv_id, &key_attr); in mbedtls_pk_sign_ext()
Dpk_internal.h96 if (psa_get_key_attributes(pk->priv_id, &opaque_attrs) != PSA_SUCCESS) { in mbedtls_pk_get_ec_group_id()
Dpk_wrap.c615 status = psa_get_key_attributes(pk->priv_id, &key_attr); in ecdsa_opaque_verify_wrap()
705 status = psa_get_key_attributes(key_id, &key_attr); in ecdsa_sign_psa()
1414 if (PSA_SUCCESS != psa_get_key_attributes(pk->priv_id, &attributes)) { in opaque_get_bitlen()
1481 status = psa_get_key_attributes(pk->priv_id, &attributes); in rsa_opaque_decrypt()
1518 status = psa_get_key_attributes(pk->priv_id, &attributes); in rsa_opaque_sign_wrap()
Dpkwrite.c390 if (psa_get_key_attributes(pk->priv_id, &opaque_attrs) != PSA_SUCCESS) { in pk_get_type_ext()
Dssl_tls13_keys.c1493 status = psa_get_key_attributes(handshake->xxdh_psa_privkey, in ssl_tls13_key_schedule_stage_handshake()
1855 status = psa_get_key_attributes(ssl->handshake->psk_opaque, &key_attributes); in mbedtls_ssl_tls13_export_handshake_psk()
Dssl_tls12_server.c2626 status = psa_get_key_attributes(pk->priv_id, &key_attributes); in ssl_get_ecdh_params_from_cert()
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Daead_demo.c171 (void) psa_get_key_attributes(key, &attr); in aead_info()
Dkey_ladder_demo.c376 PSA_CHECK(psa_get_key_attributes(wrapping_key, &attributes)); in wrap_data()
465 PSA_CHECK(psa_get_key_attributes(wrapping_key, &attributes)); in unwrap_data()
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto.h378 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key,
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dpsa_test_wrappers.h361 #define psa_get_key_attributes(arg0_key, arg1_attributes) \ macro
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_client2.c3171 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()
Dssl_server2.c4287 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()

12