Searched refs:old_type (Results 1 – 1 of 1) sorted by relevance
527 psa_key_type_t old_type = psa_get_key_type(&old_attributes); in mbedtls_pk_get_psa_attributes() local533 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() local632 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() local815 if (psa_type != PSA_KEY_TYPE_PUBLIC_KEY_OF_KEY_PAIR(old_type)) { in import_public_into_psa()