/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_slot_management.function | 164 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 …]
|
D | test_suite_psa_crypto_persistent_key.function | 232 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()
|
D | test_suite_psa_crypto.function | 233 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 …]
|
D | test_suite_psa_crypto_se_driver_hal.function | 536 /* 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()
|
D | test_suite_psa_crypto_driver_wrappers.function | 550 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 …]
|
D | test_suite_psa_crypto_generate_key.function | 35 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
|
D | test_suite_pk.function | 592 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));
|
D | test_suite_psa_crypto_storage_format.function | 162 PSA_ASSERT(psa_get_key_attributes(key_id, &actual_attributes));
|
D | test_suite_psa_crypto_op_fail.function | 257 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
|
/mbedtls-latest/tests/src/ |
D | psa_exercise_key.c | 50 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()
|
D | psa_crypto_stubs.c | 49 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key, in psa_get_key_attributes() function
|
D | psa_test_wrappers.c | 656 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/ |
D | crypto_spe.h | 60 #define psa_get_key_attributes \ macro 61 PSA_FUNCTION_NAME(psa_get_key_attributes)
|
/mbedtls-latest/library/ |
D | pk.c | 167 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()
|
D | pk_wrap.c | 615 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()
|
D | pk_internal.h | 96 if (psa_get_key_attributes(pk->priv_id, &opaque_attrs) != PSA_SUCCESS) { in mbedtls_pk_get_ec_group_id()
|
D | ssl_tls13_keys.c | 1493 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()
|
D | pkwrite.c | 398 if (psa_get_key_attributes(pk->priv_id, &opaque_attrs) != PSA_SUCCESS) { in pk_get_type_ext()
|
D | ssl_tls12_server.c | 2628 status = psa_get_key_attributes(pk->priv_id, &key_attributes); in ssl_get_ecdh_params_from_cert()
|
/mbedtls-latest/programs/psa/ |
D | key_ladder_demo.c | 376 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()
|
D | aead_demo.c | 171 (void) psa_get_key_attributes(key, &attr); in aead_info()
|
/mbedtls-latest/include/psa/ |
D | crypto.h | 381 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key,
|
/mbedtls-latest/tests/include/test/ |
D | psa_test_wrappers.h | 383 #define psa_get_key_attributes(arg0_key, arg1_attributes) \ macro
|
/mbedtls-latest/programs/ssl/ |
D | ssl_client2.c | 3198 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()
|
D | ssl_server2.c | 4297 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()
|