Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dpk.c531 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in mbedtls_pk_get_psa_attributes() local
537 if (!(PSA_KEY_TYPE_IS_ECC_KEY_PAIR(old_type) || in mbedtls_pk_get_psa_attributes()
538 old_type == PSA_KEY_TYPE_RSA_KEY_PAIR)) { in mbedtls_pk_get_psa_attributes()
544 if (old_type != PSA_KEY_TYPE_RSA_KEY_PAIR) { in mbedtls_pk_get_psa_attributes()
549 if (!(PSA_KEY_TYPE_IS_ECC_KEY_PAIR(old_type))) { in mbedtls_pk_get_psa_attributes()
556 psa_key_type_t new_type = old_type; in mbedtls_pk_get_psa_attributes()
634 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in copy_into_psa() local
636 if (old_type != psa_get_key_type(attributes)) { in copy_into_psa()
817 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in import_public_into_psa() local
819 if (psa_type != PSA_KEY_TYPE_PUBLIC_KEY_OF_KEY_PAIR(old_type)) { in import_public_into_psa()