Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dpk.c527 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in mbedtls_pk_get_psa_attributes() local
533 if (!(PSA_KEY_TYPE_IS_ECC_KEY_PAIR(old_type) || in mbedtls_pk_get_psa_attributes()
534 old_type == PSA_KEY_TYPE_RSA_KEY_PAIR)) { in mbedtls_pk_get_psa_attributes()
540 if (old_type != PSA_KEY_TYPE_RSA_KEY_PAIR) { in mbedtls_pk_get_psa_attributes()
545 if (!(PSA_KEY_TYPE_IS_ECC_KEY_PAIR(old_type))) { in mbedtls_pk_get_psa_attributes()
552 psa_key_type_t new_type = old_type; in mbedtls_pk_get_psa_attributes()
630 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in copy_into_psa() local
632 if (old_type != psa_get_key_type(attributes)) { in copy_into_psa()
813 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in import_public_into_psa() local
815 if (psa_type != PSA_KEY_TYPE_PUBLIC_KEY_OF_KEY_PAIR(old_type)) { in import_public_into_psa()