Home
last modified time | relevance | path

Searched refs:PSA_BYTES_TO_BITS (Results 1 – 7 of 7) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_rsa.c85 bits = PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(*p_rsa)); in mbedtls_psa_rsa_load_representation()
127 *bits = (psa_key_bits_t) PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(rsa)); in mbedtls_psa_rsa_import_key()
H A Dpsa_crypto_ffdh.c250 *bits = PSA_BYTES_TO_BITS(data_length); in mbedtls_psa_ffdh_import_key()
H A Dssl_cookie.c128 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
H A Dpsa_crypto_ecp.c130 curve_bits = PSA_BYTES_TO_BITS(curve_bytes); in mbedtls_psa_ecp_load_representation()
H A Dpsa_crypto.c756 *bits = PSA_BYTES_TO_BITS(data_length); in psa_import_key_into_slot()
774 if (psa_is_dh_key_size_valid(PSA_BYTES_TO_BITS(data_length)) == 0) { in psa_import_key_into_slot()
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()
H A Dpsa_crypto_driver_wrappers.h716 PSA_BYTES_TO_BITS( data_length ) ); in psa_driver_wrapper_get_key_buffer_size_from_key_data()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_sizes.h41 #define PSA_BYTES_TO_BITS(bytes) ((bytes) * 8u) macro