Home
last modified time | relevance | path

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

12

/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_slot_management.function164 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
177 TEST_EQUAL(psa_get_key_attributes(key_with_invalid_owner, &attributes),
187 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
201 TEST_EQUAL(psa_get_key_attributes(key, &attributes),
207 * Key attributes may have been returned by psa_get_key_attributes()
262 PSA_ASSERT(psa_get_key_attributes(id, &attributes));
282 PSA_ASSERT(psa_get_key_attributes(handle, &attributes));
314 PSA_ASSERT(psa_get_key_attributes(id, &read_attributes));
350 TEST_EQUAL(psa_get_key_attributes(handle, &read_attributes),
353 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.function233 TEST_EQUAL(psa_get_key_attributes(key, &attributes),
255 * Key attributes may have been returned by psa_get_key_attributes()
384 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1380 status = psa_get_key_attributes(skc->key, &got_attributes);
1389 * 4: This thread calls psa_get_key_attributes(skc->key,...):
1404 /* Key attributes may have been returned by psa_get_key_attributes(),
1475 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
1491 * Key attributes may have been returned by psa_get_key_attributes()
1560 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
1572 * Key attributes may have been returned by psa_get_key_attributes()
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function536 /* Check that the attributes of a key reported by psa_get_key_attributes()
545 PSA_ASSERT(psa_get_key_attributes(key, &actual_attributes));
590 * Actual key attributes may have been returned by psa_get_key_attributes()
686 SMOKE_ASSERT(psa_get_key_attributes(key, &attributes));
777 * Key attributes may have been returned by psa_get_key_attributes()
1075 PSA_ASSERT(psa_get_key_attributes(id, &attributes));
1087 * Key attributes may have been returned by psa_get_key_attributes()
1371 PSA_ASSERT(psa_get_key_attributes(id, &drv_attributes));
1450 * Driver key attributes may have been returned by psa_get_key_attributes()
Dtest_suite_psa_crypto_driver_wrappers.function550 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
677 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
993 PSA_ASSERT(psa_get_key_attributes(our_key, &attributes));
1694 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1762 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2176 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2227 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2542 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2613 * Key attributes may have been returned by psa_get_key_attributes()
2683 * Key attributes may have been returned by psa_get_key_attributes()
[all …]
Dtest_suite_psa_crypto_generate_key.function35 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
Dtest_suite_pk.function592 PSA_ASSERT(psa_get_key_attributes(priv_id, &attributes));
627 PSA_ASSERT(psa_get_key_attributes(orig_key_id, &orig_attr));
737 TEST_ASSERT(PSA_SUCCESS == psa_get_key_attributes(key, &attributes));
742 * Key attributes may have been returned by psa_get_key_attributes()
1893 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
2315 PSA_ASSERT(psa_get_key_attributes(new_key_id, &attributes));
2461 PSA_ASSERT(psa_get_key_attributes(to_key_id, &actual_attributes));
Dtest_suite_psa_crypto_storage_format.function162 PSA_ASSERT(psa_get_key_attributes(key_id, &actual_attributes));
Dtest_suite_psa_crypto_op_fail.function257 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
/mbedtls-latest/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.c656 psa_status_t status = (psa_get_key_attributes)(arg0_key, arg1_attributes); in mbedtls_test_wrap_psa_get_key_attributes()
/mbedtls-latest/tests/include/spe/
Dcrypto_spe.h60 #define psa_get_key_attributes \ macro
61 PSA_FUNCTION_NAME(psa_get_key_attributes)
/mbedtls-latest/library/
Dpk.c167 if (PSA_SUCCESS != psa_get_key_attributes(key, &attributes)) { in mbedtls_pk_setup_opaque()
317 status = psa_get_key_attributes(ctx->priv_id, &attributes); in mbedtls_pk_can_do_ext()
523 status = psa_get_key_attributes(pk->priv_id, &old_attributes); in mbedtls_pk_get_psa_attributes()
626 status = psa_get_key_attributes(old_key_id, &old_attributes); in copy_into_psa()
809 psa_get_key_attributes(pk->priv_id, &old_attributes); in import_public_into_psa()
877 status = psa_get_key_attributes(key_id, &key_attr); in copy_from_psa()
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()
Dpk_internal.h96 if (psa_get_key_attributes(pk->priv_id, &opaque_attrs) != PSA_SUCCESS) { in mbedtls_pk_get_ec_group_id()
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()
Dpkwrite.c398 if (psa_get_key_attributes(pk->priv_id, &opaque_attrs) != PSA_SUCCESS) { in pk_get_type_ext()
Dssl_tls12_server.c2628 status = psa_get_key_attributes(pk->priv_id, &key_attributes); in ssl_get_ecdh_params_from_cert()
/mbedtls-latest/programs/psa/
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()
Daead_demo.c171 (void) psa_get_key_attributes(key, &attr); in aead_info()
/mbedtls-latest/include/psa/
Dcrypto.h381 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key,
/mbedtls-latest/tests/include/test/
Dpsa_test_wrappers.h383 #define psa_get_key_attributes(arg0_key, arg1_attributes) \ macro
/mbedtls-latest/programs/ssl/
Dssl_client2.c3198 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()
Dssl_server2.c4297 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()

12