Home
last modified time | relevance | path

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

/mbedtls-3.5.0/programs/psa/
Dkey_ladder_demo.c207 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(KEY_SIZE_BYTES)); in generate()
286 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(KEY_SIZE_BYTES)); in derive_key_ladder()
/mbedtls-3.5.0/library/
Dpsa_crypto_rsa.c103 bits = PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(mbedtls_pk_rsa(ctx))); in mbedtls_psa_rsa_load_representation()
150 *bits = (psa_key_bits_t) PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(rsa)); in mbedtls_psa_rsa_import_key()
Dssl_cookie.c131 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
Dpsa_crypto_ecp.c85 curve_bits = PSA_BYTES_TO_BITS(curve_bytes); in mbedtls_psa_ecp_load_representation()
Dpsa_crypto_driver_wrappers.c811 PSA_BYTES_TO_BITS( data_length ) ); in psa_driver_wrapper_get_key_buffer_size_from_key_data()
Dpsa_crypto.c628 *bits = PSA_BYTES_TO_BITS(data_length); in psa_import_key_into_slot()
5032 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(hmac_key_length));
/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.function104 if (data_length == PSA_BYTES_TO_BITS(521)) {
109 if (data_length == PSA_BYTES_TO_BITS(255)) {
114 return PSA_BYTES_TO_BITS(data_length);
189 *bits = PSA_BYTES_TO_BITS(data_length);
330 *bits = PSA_BYTES_TO_BITS(data_length);
951 PSA_BYTES_TO_BITS(sizeof(key_material)));
Dtest_suite_psa_crypto_slot_management.function358 size_t bits1 = PSA_BYTES_TO_BITS(sizeof(material1));
791 PSA_BYTES_TO_BITS(sizeof(material)));
Dtest_suite_psa_crypto_metadata.function392 PSA_KEY_TYPE_HMAC, PSA_BYTES_TO_BITS(length));
Dtest_suite_psa_crypto_driver_wrappers.function1799 PSA_MAC_LENGTH(key_type, PSA_BYTES_TO_BITS(key_data->len), alg);
1873 PSA_MAC_LENGTH(key_type, PSA_BYTES_TO_BITS(key_data->len), alg);
Dtest_suite_psa_crypto.function1416 PSA_BYTES_TO_BITS(byte_size));
3337 PSA_MAC_LENGTH(key_type, PSA_BYTES_TO_BITS(key_data->len), alg);
8798 psa_set_key_bits(&attributes4, PSA_BYTES_TO_BITS(requested_capacity));
9081 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes1));
9089 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes2));
/mbedtls-3.5.0/include/psa/
Dcrypto_sizes.h48 #define PSA_BYTES_TO_BITS(bytes) ((bytes) * 8) macro
/mbedtls-3.5.0/tests/src/drivers/
Dtest_driver_key_management.c354 *bits = PSA_BYTES_TO_BITS(data_length); in mbedtls_test_opaque_import_key()
/mbedtls-3.5.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja710 PSA_BYTES_TO_BITS( data_length ) );