Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dblock_cipher.c136 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
H A Dssl_ticket.c96 psa_set_key_bits(&attributes, key->key_bits); in ssl_ticket_gen_key()
185 psa_set_key_bits(&attributes, key->key_bits); in mbedtls_ssl_ticket_rotate()
H A Dpk_ecc.c232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
H A Dssl_cookie.c128 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
H A Dpk.c449 psa_set_key_bits(attributes, mbedtls_pk_get_bitlen(pk)); in mbedtls_pk_get_psa_attributes()
507 psa_set_key_bits(attributes, bits); in mbedtls_pk_get_psa_attributes()
564 psa_set_key_bits(attributes, psa_get_key_bits(&old_attributes)); in mbedtls_pk_get_psa_attributes()
H A Dssl_tls12_server.c2626 psa_set_key_bits(&key_attributes, ssl->handshake->xxdh_psa_bits); in ssl_get_ecdh_params_from_cert()
2684 psa_set_key_bits(&key_attributes, ssl->handshake->xxdh_psa_bits); in ssl_get_ecdh_params_from_cert()
3001 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_prepare_server_key_exchange()
H A Dssl_tls13_generic.c1583 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
H A Dssl_tls12_client.c2784 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_write_client_key_exchange()
2956 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in ssl_write_client_key_exchange()
H A Dpsa_crypto.c5668 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(hmac_key_length)); in psa_key_derivation_start_hmac()
6184 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(pbkdf2->password_length)); in psa_key_derivation_pbkdf2_read()
7425 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(sizeof(zeros))); in psa_pbkdf2_cmac_set_password()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_struct.h431 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
H A Dcrypto.h338 static void psa_set_key_bits(psa_key_attributes_t *attributes,