Home
last modified time | relevance | path

Searched refs:psa_type (Results 1 - 3 of 3) sorted by relevance

/third_party/mbedtls/tests/include/test/
H A Dssl_helpers.h649 &psa_type, &psa_bits), PSA_SUCCESS); \
650 TEST_EQUAL(psa_family_, PSA_KEY_TYPE_ECC_GET_FAMILY(psa_type)); \
659 &psa_type, &psa_bits), \
/third_party/mbedtls/tests/src/
H A Dpsa_exercise_key.c1251 psa_key_type_t psa_type = psa_get_key_type(&psa_attributes); in mbedtls_test_key_consistency_psa_pk() local
1254 TEST_ASSERT(PSA_KEY_TYPE_IS_PUBLIC_KEY(psa_type) || in mbedtls_test_key_consistency_psa_pk()
1255 PSA_KEY_TYPE_IS_KEY_PAIR(psa_type)); in mbedtls_test_key_consistency_psa_pk()
1265 TEST_ASSERT(PSA_KEY_TYPE_IS_RSA(psa_type)); in mbedtls_test_key_consistency_psa_pk()
1280 TEST_ASSERT(PSA_KEY_TYPE_IS_ECC(psa_type)); in mbedtls_test_key_consistency_psa_pk()
1281 TEST_EQUAL(PSA_KEY_TYPE_ECC_GET_FAMILY(psa_type), pk->ec_family); in mbedtls_test_key_consistency_psa_pk()
1304 TEST_EQUAL(PSA_KEY_TYPE_PUBLIC_KEY_OF_KEY_PAIR(psa_type), in mbedtls_test_key_consistency_psa_pk()
/third_party/mbedtls/library/
H A Dpk.c743 psa_key_type_t psa_type = psa_get_key_type(attributes); in import_public_into_psa() local
757 if (psa_type != PSA_KEY_TYPE_RSA_PUBLIC_KEY) { in import_public_into_psa()
783 if (psa_type != PSA_KEY_TYPE_ECC_PUBLIC_KEY(pk->ec_family)) { in import_public_into_psa()
793 if (psa_type != PSA_KEY_TYPE_ECC_PUBLIC_KEY(from_family)) { in import_public_into_psa()
819 if (psa_type != PSA_KEY_TYPE_PUBLIC_KEY_OF_KEY_PAIR(old_type)) { in import_public_into_psa()

Completed in 5 milliseconds