Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpk_ecc.c70 status = psa_import_key(&attributes, key, key_len, &pk->priv_id); in mbedtls_pk_ecc_set_key()
115 status = psa_import_key(&key_attr, prv, prv_len, &key_id); in mbedtls_pk_ecc_set_pubkey_from_prv()
234 if ((psa_import_key(&key_attrs, pk->pub_raw, pk->pub_raw_len, in mbedtls_pk_ecc_set_pubkey()
H A Dpk_wrap.c105 status = psa_import_key(&attributes, in rsa_verify_wrap()
203 status = psa_import_key(&attributes, in mbedtls_pk_psa_rsa_sign_ext()
316 status = psa_import_key(&attributes, in rsa_decrypt_wrap()
399 status = psa_import_key(&attributes, in rsa_encrypt_wrap()
561 status = psa_import_key(&attributes, key, key_len, &key_id); in ecdsa_verify_psa()
790 status = psa_import_key(&attributes, buf, key_len, &key_id); in ecdsa_sign_wrap()
984 status = psa_import_key(&key_attr, prv_key_buf, curve_bytes, &key_id); in eckey_check_pair_psa()
H A Dblock_cipher.c140 status = psa_import_key(&key_attr, key, PSA_BITS_TO_BYTES(key_bitlen), &ctx->psa_key_id); in mbedtls_block_cipher_setkey()
H A Dpk.c600 status = psa_import_key(attributes, key_buffer, key_length, new_key_id); in export_import_into_psa()
662 ret = PSA_PK_TO_MBEDTLS_ERR(psa_import_key(attributes, in import_pair_into_psa()
716 ret = PSA_PK_TO_MBEDTLS_ERR(psa_import_key(attributes, in import_pair_into_psa()
833 return PSA_PK_TO_MBEDTLS_ERR(psa_import_key(attributes, in import_public_into_psa()
1171 status = psa_import_key(&attributes, in mbedtls_pk_verify_ext()
H A Dssl_ticket.c99 psa_import_key(&attributes, buf, in ssl_ticket_gen_key()
187 if ((status = psa_import_key(&attributes, k, in mbedtls_ssl_ticket_rotate()
H A Dssl_tls13_keys.c750 status = psa_import_key(&attributes, finished_key, hash_len, &key); in ssl_tls13_calc_finished_core()
1067 if ((status = psa_import_key(&attributes, in mbedtls_ssl_tls13_populate_transform()
1078 if ((status = psa_import_key(&attributes, in mbedtls_ssl_tls13_populate_transform()
H A Dctr_drbg.c45 status = psa_import_key(&key_attr, key, key_len, &psa_ctx->key_id); in ctr_drbg_setup_psa_context()
H A Dssl_tls.c2040 status = psa_import_key(&attributes, pw, pw_len, in mbedtls_ssl_set_hs_ecjpake_password()
2284 status = psa_import_key(&key_attributes, psk, psk_len, &key); in mbedtls_ssl_set_hs_psk()
6801 status = psa_import_key(&key_attributes, secret, slen, &master_key); in tls_prf_generic()
8952 if ((status = psa_import_key(&attributes, in ssl_tls12_populate_transform()
8964 if ((status = psa_import_key(&attributes, in ssl_tls12_populate_transform()
9028 if ((status = psa_import_key(&attributes, in ssl_tls12_populate_transform()
9049 if ((status = psa_import_key(&attributes, in ssl_tls12_populate_transform()
H A Dcipher.c396 status = psa_import_key(&attributes, key, key_bytelen, in mbedtls_cipher_setkey()
H A Dssl_tls12_server.c2633 status = psa_import_key(&key_attributes, buf, key_len, in ssl_get_ecdh_params_from_cert()
2692 status = psa_import_key(&key_attributes, buf, key_len, in ssl_get_ecdh_params_from_cert()
H A Dpsa_crypto.c2074 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, in psa_import_key() function
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto.h661 psa_status_t psa_import_key(const psa_key_attributes_t *attributes,
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog398 * psa_import_key() now only accepts RSA keys in the PSA standard formats.
2659 APIs. psa_import_key and psa_export_key will now correctly expect/output