Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dblock_cipher.c137 psa_set_key_algorithm(&key_attr, PSA_ALG_ECB_NO_PADDING); in mbedtls_block_cipher_setkey()
H A Dpk_wrap.c102 psa_set_key_algorithm(&attributes, psa_alg_md); in rsa_verify_wrap()
200 psa_set_key_algorithm(&attributes, alg); in mbedtls_pk_psa_rsa_sign_ext()
314 psa_set_key_algorithm(&attributes, decrypt_alg); in rsa_decrypt_wrap()
396 psa_set_key_algorithm(&attributes, psa_encrypt_alg); in rsa_encrypt_wrap()
559 psa_set_key_algorithm(&attributes, psa_sig_md); in ecdsa_verify_psa()
788 psa_set_key_algorithm(&attributes, psa_sig_md); in ecdsa_sign_wrap()
H A Dssl_ticket.c94 psa_set_key_algorithm(&attributes, key->alg); in ssl_ticket_gen_key()
183 psa_set_key_algorithm(&attributes, key->alg); in mbedtls_ssl_ticket_rotate()
H A Dpk_ecc.c63 psa_set_key_algorithm(&attributes, in mbedtls_pk_ecc_set_key()
H A Dpk.c450 psa_set_key_algorithm(attributes, in mbedtls_pk_get_psa_attributes()
508 psa_set_key_algorithm(attributes, alg); in mbedtls_pk_get_psa_attributes()
565 psa_set_key_algorithm(attributes, psa_get_key_algorithm(&old_attributes)); in mbedtls_pk_get_psa_attributes()
1169 psa_set_key_algorithm(&attributes, psa_sig_alg); in mbedtls_pk_verify_ext()
H A Dssl_cookie.c126 psa_set_key_algorithm(&attributes, ctx->psa_hmac_alg); in mbedtls_ssl_cookie_setup()
H A Dssl_tls13_keys.c747 psa_set_key_algorithm(&attributes, alg); in ssl_tls13_calc_finished_core()
1064 psa_set_key_algorithm(&attributes, alg); in mbedtls_ssl_tls13_populate_transform()
H A Dctr_drbg.c43 psa_set_key_algorithm(&key_attr, PSA_ALG_ECB_NO_PADDING); in ctr_drbg_setup_psa_context()
H A Dssl_tls12_server.c2623 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH); in ssl_get_ecdh_params_from_cert()
2681 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH); in ssl_get_ecdh_params_from_cert()
2999 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH); in ssl_prepare_server_key_exchange()
H A Dssl_tls13_generic.c1581 psa_set_key_algorithm(&key_attributes, alg); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
H A Dssl_tls12_client.c2782 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH); in ssl_write_client_key_exchange()
2954 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH); in ssl_write_client_key_exchange()
H A Dcipher.c394 psa_set_key_algorithm(&attributes, cipher_psa->alg); in mbedtls_cipher_setkey()
H A Dssl_tls.c2037 psa_set_key_algorithm(&attributes, PSA_ALG_JPAKE); in mbedtls_ssl_set_hs_ecjpake_password()
2281 psa_set_key_algorithm(&key_attributes, alg); in mbedtls_ssl_set_hs_psk()
6798 psa_set_key_algorithm(&key_attributes, alg); in tls_prf_generic()
8949 psa_set_key_algorithm(&attributes, alg); in ssl_tls12_populate_transform()
9025 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(mac_alg)); in ssl_tls12_populate_transform()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_struct.h407 static inline void psa_set_key_algorithm(psa_key_attributes_t *attributes, in psa_set_key_algorithm() function
H A Dcrypto.h289 static void psa_set_key_algorithm(psa_key_attributes_t *attributes,