Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Dpk.c874 unsigned char exp_key[PSA_EXPORT_KEY_PAIR_OR_PUBLIC_MAX_SIZE]; in copy_from_psa() local
888 status = psa_export_public_key(key_id, exp_key, sizeof(exp_key), &exp_key_len); in copy_from_psa()
890 status = psa_export_key(key_id, exp_key, sizeof(exp_key), &exp_key_len); in copy_from_psa()
914 ret = mbedtls_rsa_parse_key(mbedtls_pk_rsa(*pk), exp_key, exp_key_len); in copy_from_psa()
916 ret = mbedtls_rsa_parse_pubkey(mbedtls_pk_rsa(*pk), exp_key, exp_key_len); in copy_from_psa()
955 ret = mbedtls_pk_ecc_set_key(pk, exp_key, exp_key_len); in copy_from_psa()
959 ret = mbedtls_pk_ecc_set_pubkey_from_prv(pk, exp_key, exp_key_len, in copy_from_psa()
963 ret = mbedtls_pk_ecc_set_pubkey(pk, exp_key, exp_key_len); in copy_from_psa()
976 mbedtls_platform_zeroize(exp_key, sizeof(exp_key)); in copy_from_psa()