Home
last modified time | relevance | path

Searched refs:psa_export_public_key (Results 1 - 14 of 14) sorted by relevance

/third_party/mbedtls/tests/include/spe/
H A Dcrypto_spe.h78 #define psa_export_public_key \ macro
79 PSA_FUNCTION_NAME(psa_export_public_key)
/third_party/mbedtls/library/
H A Dpk_ecc.c96 status = psa_export_public_key(pk->priv_id, pk->pub_raw, sizeof(pk->pub_raw), in mbedtls_pk_ecc_set_pubkey_from_prv()
123 status = psa_export_public_key(key_id, pub, sizeof(pub), &pub_len); in mbedtls_pk_ecc_set_pubkey_from_prv()
H A Dpkwrite.c97 if (psa_export_public_key(pk->priv_id, buf, sizeof(buf), &len) != PSA_SUCCESS) { in pk_write_ec_pubkey()
125 if (psa_export_public_key(pk->priv_id, buf, sizeof(buf), &len) != PSA_SUCCESS) { in pk_write_ec_pubkey()
363 if (psa_export_public_key(pk->priv_id, start, buffer_size, in pk_write_opaque_pubkey()
H A Dpk_wrap.c623 status = psa_export_public_key(pk->priv_id, key, sizeof(key), &key_len); in ecdsa_opaque_verify_wrap()
940 status = psa_export_public_key(key_id, prv_key_buf, sizeof(prv_key_buf), in eckey_check_pair_psa()
992 status = psa_export_public_key(key_id, prv_key_buf, sizeof(prv_key_buf), in eckey_check_pair_psa()
1058 status = psa_export_public_key(prv->priv_id, exp_pub_key, sizeof(exp_pub_key), in ecdsa_opaque_check_pair_wrap()
H A Dpk.c822 status = psa_export_public_key(pk->priv_id, in import_public_into_psa()
888 status = psa_export_public_key(key_id, exp_key, sizeof(exp_key), &exp_key_len); in copy_from_psa()
H A Dssl_tls12_client.c2799 status = psa_export_public_key(handshake->xxdh_psa_privkey, in ssl_write_client_key_exchange()
2971 status = psa_export_public_key(handshake->xxdh_psa_privkey, in ssl_write_client_key_exchange()
H A Dssl_tls13_generic.c1695 status = psa_export_public_key(handshake->xxdh_psa_privkey, in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
1701 MBEDTLS_SSL_DEBUG_RET(1, "psa_export_public_key", ret); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
H A Dssl_tls12_server.c3055 status = psa_export_public_key(handshake->xxdh_psa_privkey, in ssl_prepare_server_key_exchange()
3060 MBEDTLS_SSL_DEBUG_RET(1, "psa_export_public_key", ret); in ssl_prepare_server_key_exchange()
H A Dpsa_crypto.c1590 psa_status_t psa_export_public_key(mbedtls_svc_key_id_t key, in psa_export_public_key() function
/third_party/mbedtls/tests/src/
H A Dpsa_crypto_stubs.c37 psa_status_t psa_export_public_key(mbedtls_svc_key_id_t key, in psa_export_public_key() function
H A Dpsa_exercise_key.c653 status = psa_export_public_key(key, public_key, public_key_length, in mbedtls_test_psa_key_agreement_with_self()
710 status = psa_export_public_key(key, in mbedtls_test_psa_raw_key_agreement_with_self()
1078 status = psa_export_public_key(key, exported, in exercise_export_public_key()
1096 status = psa_export_public_key(key, exported, in exercise_export_public_key()
1306 PSA_ASSERT(psa_export_public_key(psa_key, in mbedtls_test_key_consistency_psa_pk()
1320 PSA_ASSERT(psa_export_public_key(psa_key, in mbedtls_test_key_consistency_psa_pk()
H A Dpsa_test_wrappers.c568 /* Wrapper for psa_export_public_key */
578 psa_status_t status = (psa_export_public_key)(arg0_key, arg1_data, arg2_data_size, arg3_data_length); in mbedtls_test_wrap_psa_export_public_key()
/third_party/mbedtls/include/psa/
H A Dcrypto.h579 * documentation of psa_export_public_key() for the format of public keys
611 * of psa_export_key() or psa_export_public_key() for
708 * true), the format is the same as for psa_export_public_key().
816 psa_status_t psa_export_public_key(mbedtls_svc_key_id_t key,
3535 * psa_export_public_key().
4011 * of psa_export_public_key().
/third_party/mbedtls/tests/include/test/
H A Dpsa_test_wrappers.h335 #define psa_export_public_key(arg0_key, arg1_data, arg2_data_size, arg3_data_length) \ macro

Completed in 37 milliseconds