Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dpsa_crypto_rsa.c104 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()
Dpsa_crypto_ecp.c90 curve_bits = PSA_BYTES_TO_BITS( curve_bytes ); in mbedtls_psa_ecp_load_representation()
Dpsa_crypto_driver_wrappers.c449 PSA_BYTES_TO_BITS( data_length ) ); in psa_driver_wrapper_get_key_buffer_size_from_key_data()
Dpsa_crypto.c564 *bits = PSA_BYTES_TO_BITS( data_length ); in psa_import_key_into_slot()
4324 psa_set_key_bits( &attributes, PSA_BYTES_TO_BITS( hmac_key_length ) ); in psa_key_derivation_start_hmac()
/third_party/mbedtls/programs/psa/
Dkey_ladder_demo.c205 psa_set_key_bits( &attributes, PSA_BYTES_TO_BITS( KEY_SIZE_BYTES ) ); in generate()
283 psa_set_key_bits( &attributes, PSA_BYTES_TO_BITS( KEY_SIZE_BYTES ) ); in derive_key_ladder()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.function105 if( data_length == PSA_BYTES_TO_BITS( 521 ) )
109 if( data_length == PSA_BYTES_TO_BITS( 255 ) )
113 return( PSA_BYTES_TO_BITS( data_length ) );
186 *bits = PSA_BYTES_TO_BITS( data_length );
327 *bits = PSA_BYTES_TO_BITS( data_length );
950 PSA_BYTES_TO_BITS( sizeof( key_material ) ) );
Dtest_suite_psa_crypto_slot_management.function363 size_t bits1 = PSA_BYTES_TO_BITS( sizeof( material1 ) );
806 PSA_BYTES_TO_BITS( sizeof( material ) ) );
Dtest_suite_psa_crypto_metadata.function390 PSA_KEY_TYPE_HMAC, PSA_BYTES_TO_BITS( length ) );
Dtest_suite_psa_crypto_driver_wrappers.function1211 PSA_MAC_LENGTH( key_type, PSA_BYTES_TO_BITS( key_data->len ), alg );
Dtest_suite_psa_crypto.function738 PSA_BYTES_TO_BITS( byte_size ) );
2397 PSA_MAC_LENGTH( key_type, PSA_BYTES_TO_BITS( key_data->len ), alg );
6382 psa_set_key_bits( &derived_attributes, PSA_BYTES_TO_BITS( bytes1 ) );
6390 psa_set_key_bits( &derived_attributes, PSA_BYTES_TO_BITS( bytes2 ) );
/third_party/mbedtls/include/psa/
Dcrypto_sizes.h48 #define PSA_BYTES_TO_BITS(bytes) ((bytes) * 8) macro
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c341 *bits = PSA_BYTES_TO_BITS( data_length ); in mbedtls_test_opaque_import_key()