Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_slot_management.function139 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
163 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
177 TEST_EQUAL(psa_get_key_attributes(key, &attributes),
183 * Key attributes may have been returned by psa_get_key_attributes()
238 PSA_ASSERT(psa_get_key_attributes(id, &attributes));
258 PSA_ASSERT(psa_get_key_attributes(handle, &attributes));
290 PSA_ASSERT(psa_get_key_attributes(id, &read_attributes));
326 TEST_EQUAL(psa_get_key_attributes(handle, &read_attributes),
329 TEST_EQUAL(psa_get_key_attributes(id, &read_attributes),
336 * Key attributes may have been returned by psa_get_key_attributes()
[all …]
Dtest_suite_psa_crypto_persistent_key.function234 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
247 * Key attributes may have been returned by psa_get_key_attributes()
291 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
318 * Key attributes may have been returned by psa_get_key_attributes()
Dtest_suite_psa_crypto.function251 TEST_EQUAL(psa_get_key_attributes(key, &attributes),
273 * Key attributes may have been returned by psa_get_key_attributes()
399 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1315 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
1327 * Key attributes may have been returned by psa_get_key_attributes()
1361 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
1373 * Key attributes may have been returned by psa_get_key_attributes()
1413 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1430 * Key attributes may have been returned by psa_get_key_attributes()
1524 PSA_ASSERT(psa_get_key_attributes(key, &got_attributes));
[all …]
Dtest_suite_psa_crypto_generate_key.function35 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
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.function534 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
661 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
975 PSA_ASSERT(psa_get_key_attributes(our_key, &attributes));
1682 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
1750 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2164 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2215 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2522 PSA_ASSERT(psa_get_key_attributes(key, &attributes));
2593 * Key attributes may have been returned by psa_get_key_attributes()
2663 * Key attributes may have been returned by psa_get_key_attributes()
[all …]
Dtest_suite_pk.function233 TEST_ASSERT(PSA_SUCCESS == psa_get_key_attributes(key, &attributes));
238 * Key attributes may have been returned by psa_get_key_attributes()
1263 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
1323 * Key attributes may have been returned by psa_get_key_attributes()
Dtest_suite_psa_crypto_op_fail.function257 PSA_ASSERT(psa_get_key_attributes(key_id, &attributes));
Dtest_suite_psa_crypto_storage_format.function246 PSA_ASSERT(psa_get_key_attributes(key_id, &actual_attributes));
Dtest_suite_ssl.function3444 TEST_EQUAL(psa_get_key_attributes(pwd_slot, &check_attributes),
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c52 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in check_key_attributes_sanity()
170 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_cipher_key()
248 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_aead_key()
503 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in mbedtls_test_psa_key_agreement_with_self()
545 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in mbedtls_test_psa_raw_key_agreement_with_self()
627 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_key_agreement_key()
835 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_export_key()
878 PSA_ASSERT(psa_get_key_attributes(key, &attributes)); in exercise_export_public_key()
/third_party/mbedtls/tests/include/spe/
Dcrypto_spe.h72 #define psa_get_key_attributes \ macro
73 PSA_FUNCTION_NAME(psa_get_key_attributes)
/third_party/mbedtls/programs/psa/
Dkey_ladder_demo.c388 PSA_CHECK(psa_get_key_attributes(wrapping_key, &attributes)); in wrap_data()
477 PSA_CHECK(psa_get_key_attributes(wrapping_key, &attributes)); in unwrap_data()
Daead_demo.c183 (void) psa_get_key_attributes(key, &attr); in aead_info()
/third_party/mbedtls/library/
Dpk.c168 if (PSA_SUCCESS != psa_get_key_attributes(key, &attributes)) { in mbedtls_pk_setup_opaque()
323 status = psa_get_key_attributes(*key, &attributes); in mbedtls_pk_can_do_ext()
Dpkwrite.c258 if (PSA_SUCCESS != psa_get_key_attributes(key_id, &attributes)) { in mbedtls_pk_write_pubkey_der()
Dpk_wrap.c1444 if (PSA_SUCCESS != psa_get_key_attributes(*key, &attributes)) { in pk_opaque_get_bitlen()
1492 status = psa_get_key_attributes(*key, &attributes); in pk_opaque_sign_wrap()
Dssl_tls13_keys.c1471 status = psa_get_key_attributes(handshake->ecdh_psa_privkey, in ssl_tls13_key_schedule_stage_handshake()
1831 status = psa_get_key_attributes(ssl->handshake->psk_opaque, &key_attributes); in mbedtls_ssl_tls13_export_handshake_psk()
Dssl_tls12_server.c2592 status = psa_get_key_attributes(ssl->handshake->ecdh_psa_privkey, in ssl_get_ecdh_params_from_cert()
Dssl_msg.c5181 (void) psa_get_key_attributes(transform->psa_key_enc, &attr); in mbedtls_ssl_get_record_expansion()
Dpsa_crypto.c1233 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key, in psa_get_key_attributes() function
/third_party/mbedtls/include/psa/
Dcrypto.h388 psa_status_t psa_get_key_attributes(mbedtls_svc_key_id_t key,
/third_party/mbedtls/programs/ssl/
Dssl_client2.c3114 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()
Dssl_server2.c4252 if (psa_get_key_attributes(ecjpake_pw_slot, &check_attributes) != in main()