Searched refs:psa_set_key_algorithm (Results 1 – 15 of 15) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | block_cipher.c | 137 psa_set_key_algorithm(&key_attr, PSA_ALG_ECB_NO_PADDING); in mbedtls_block_cipher_setkey()
|
| H A D | pk_wrap.c | 102 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 D | ssl_ticket.c | 94 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 D | pk_ecc.c | 63 psa_set_key_algorithm(&attributes, in mbedtls_pk_ecc_set_key()
|
| H A D | pk.c | 450 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 D | ssl_cookie.c | 126 psa_set_key_algorithm(&attributes, ctx->psa_hmac_alg); in mbedtls_ssl_cookie_setup()
|
| H A D | ssl_tls13_keys.c | 747 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 D | ctr_drbg.c | 43 psa_set_key_algorithm(&key_attr, PSA_ALG_ECB_NO_PADDING); in ctr_drbg_setup_psa_context()
|
| H A D | ssl_tls12_server.c | 2623 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 D | ssl_tls13_generic.c | 1581 psa_set_key_algorithm(&key_attributes, alg); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
|
| H A D | ssl_tls12_client.c | 2782 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 D | cipher.c | 394 psa_set_key_algorithm(&attributes, cipher_psa->alg); in mbedtls_cipher_setkey()
|
| H A D | ssl_tls.c | 2037 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 D | crypto_struct.h | 407 static inline void psa_set_key_algorithm(psa_key_attributes_t *attributes, in psa_set_key_algorithm() function
|
| H A D | crypto.h | 289 static void psa_set_key_algorithm(psa_key_attributes_t *attributes,
|