Searched refs:psa_set_key_bits (Results 1 – 11 of 11) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | block_cipher.c | 136 psa_set_key_bits(&key_attr, key_bitlen); in mbedtls_block_cipher_setkey()
|
| H A D | ssl_ticket.c | 96 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 D | pk_ecc.c | 232 psa_set_key_bits(&key_attrs, pk->ec_bits); in mbedtls_pk_ecc_set_pubkey()
|
| H A D | ssl_cookie.c | 128 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
|
| H A D | pk.c | 449 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 D | ssl_tls12_server.c | 2626 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 D | ssl_tls13_generic.c | 1583 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits); in mbedtls_ssl_tls13_generate_and_write_xxdh_key_exchange()
|
| H A D | ssl_tls12_client.c | 2784 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 D | psa_crypto.c | 5668 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 D | crypto_struct.h | 431 static inline void psa_set_key_bits(psa_key_attributes_t *attributes, in psa_set_key_bits() function
|
| H A D | crypto.h | 338 static void psa_set_key_bits(psa_key_attributes_t *attributes,
|