Searched refs:PSA_BYTES_TO_BITS (Results 1 – 15 of 15) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/programs/psa/ |
D | key_ladder_demo.c | 195 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(KEY_SIZE_BYTES)); in generate() 274 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(KEY_SIZE_BYTES)); in derive_key_ladder()
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | psa_crypto_rsa.c | 85 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()
|
D | psa_crypto_ffdh.c | 250 *bits = PSA_BYTES_TO_BITS(data_length); in mbedtls_psa_ffdh_import_key()
|
D | ssl_cookie.c | 124 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(COOKIE_MD_OUTLEN)); in mbedtls_ssl_cookie_setup()
|
D | psa_crypto_ecp.c | 130 curve_bits = PSA_BYTES_TO_BITS(curve_bytes); in mbedtls_psa_ecp_load_representation()
|
D | psa_crypto.c | 750 *bits = PSA_BYTES_TO_BITS(data_length); in psa_import_key_into_slot() 768 if (psa_is_dh_key_size_valid(PSA_BYTES_TO_BITS(data_length)) == 0) { in psa_import_key_into_slot() 5450 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(hmac_key_length)); in psa_key_derivation_start_hmac() 5951 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(pbkdf2->password_length)); in psa_key_derivation_pbkdf2_read() 7175 psa_set_key_bits(&attributes, PSA_BYTES_TO_BITS(sizeof(zeros))); in psa_pbkdf2_cmac_set_password()
|
D | psa_crypto_driver_wrappers.h | 718 PSA_BYTES_TO_BITS( data_length ) ); in psa_driver_wrapper_get_key_buffer_size_from_key_data()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal.function | 104 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)));
|
D | test_suite_psa_crypto_slot_management.function | 357 size_t bits1 = PSA_BYTES_TO_BITS(sizeof(material1)); 783 PSA_BYTES_TO_BITS(sizeof(material)));
|
D | test_suite_psa_crypto_metadata.function | 392 PSA_KEY_TYPE_HMAC, PSA_BYTES_TO_BITS(length));
|
D | test_suite_psa_crypto_driver_wrappers.function | 1795 PSA_MAC_LENGTH(key_type, PSA_BYTES_TO_BITS(key_data->len), alg); 1869 PSA_MAC_LENGTH(key_type, PSA_BYTES_TO_BITS(key_data->len), alg);
|
D | test_suite_psa_crypto.function | 1695 PSA_BYTES_TO_BITS(byte_size)); 3705 PSA_MAC_LENGTH(key_type, PSA_BYTES_TO_BITS(key_data->len), alg); 9221 psa_set_key_bits(&attributes4, PSA_BYTES_TO_BITS(requested_capacity)); 9504 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes1)); 9512 psa_set_key_bits(&derived_attributes, PSA_BYTES_TO_BITS(bytes2));
|
/openthread-latest/third_party/mbedtls/repo/include/psa/ |
D | crypto_sizes.h | 41 #define PSA_BYTES_TO_BITS(bytes) ((bytes) * 8u) macro
|
/openthread-latest/third_party/mbedtls/repo/tests/src/drivers/ |
D | test_driver_key_management.c | 374 *bits = PSA_BYTES_TO_BITS(data_length); in mbedtls_test_opaque_import_key()
|
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.h.jinja | 719 PSA_BYTES_TO_BITS( data_length ) );
|