Home
last modified time | relevance | path

Searched refs:mac_size (Results 1 – 11 of 11) sorted by relevance

/mbedtls-3.5.0/tests/src/drivers/
Dtest_driver_mac.c42 size_t mac_size, in mbedtls_test_transparent_mac_compute() argument
58 mac, mac_size, mac_length); in mbedtls_test_transparent_mac_compute()
64 mac, mac_size, mac_length); in mbedtls_test_transparent_mac_compute()
73 (void) mac_size; in mbedtls_test_transparent_mac_compute()
190 size_t mac_size, in mbedtls_test_transparent_mac_sign_finish() argument
203 operation, mac, mac_size, mac_length); in mbedtls_test_transparent_mac_sign_finish()
207 operation, mac, mac_size, mac_length); in mbedtls_test_transparent_mac_sign_finish()
211 (void) mac_size; in mbedtls_test_transparent_mac_sign_finish()
284 size_t mac_size, in mbedtls_test_opaque_mac_compute() argument
300 (void) mac_size; in mbedtls_test_opaque_mac_compute()
[all …]
/mbedtls-3.5.0/library/
Dpsa_crypto_mac.c125 size_t mac_size) in psa_hmac_finish_internal() argument
159 memcpy(mac, tmp, mac_size); in psa_hmac_finish_internal()
385 uint8_t *mac, size_t mac_size) in psa_mac_finish_internal() argument
392 memcpy(mac, tmp, mac_size); in psa_mac_finish_internal()
401 mac, mac_size); in psa_mac_finish_internal()
409 (void) mac_size; in psa_mac_finish_internal()
417 size_t mac_size, in mbedtls_psa_mac_sign_finish() argument
426 status = psa_mac_finish_internal(operation, mac, mac_size); in mbedtls_psa_mac_sign_finish()
428 *mac_length = mac_size; in mbedtls_psa_mac_sign_finish()
474 size_t mac_size, in mbedtls_psa_mac_compute() argument
[all …]
Dpsa_crypto_mac.h66 size_t mac_size,
209 size_t mac_size,
Dpsa_crypto_driver_wrappers.c2695 size_t mac_size, in psa_driver_wrapper_mac_compute() argument
2715 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2723 mac, mac_size, mac_length); in psa_driver_wrapper_mac_compute()
2732 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2745 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2757 (void) mac_size; in psa_driver_wrapper_mac_compute()
2972 size_t mac_size, in psa_driver_wrapper_mac_sign_finish() argument
2980 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2988 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2993 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
[all …]
Dpsa_crypto.c2378 operation->mac_size = 0;
2388 uint8_t *mac_size) argument
2405 *mac_size = PSA_MAC_LENGTH(key_type, key_bits, alg);
2407 if (*mac_size < 4) {
2415 if (*mac_size > PSA_MAC_LENGTH(key_type, key_bits,
2422 if (*mac_size > PSA_MAC_MAX_SIZE) {
2467 &operation->mac_size);
2537 size_t mac_size, argument
2555 if (operation->mac_size == 0) {
2560 if (mac_size < operation->mac_size) {
[all …]
Dpsa_crypto_driver_wrappers.h332 size_t mac_size,
357 size_t mac_size,
/mbedtls-3.5.0/tests/include/test/drivers/
Dmac.h56 size_t mac_size,
81 size_t mac_size,
100 size_t mac_size,
125 size_t mac_size,
/mbedtls-3.5.0/include/psa/
Dcrypto_se_driver.h222 size_t mac_size,
277 size_t mac_size,
Dcrypto.h1221 size_t mac_size,
1506 size_t mac_size,
Dcrypto_struct.h136 uint8_t MBEDTLS_PRIVATE(mac_size);
/mbedtls-3.5.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja2277 size_t mac_size,
2294 mac, mac_size, mac_length );
2305 mac, mac_size, mac_length );
2318 mac, mac_size, mac_length );
2330 (void) mac_size;
2517 size_t mac_size,
2525 mac, mac_size, mac_length ) );
2533 mac, mac_size, mac_length ) );
2538 mac, mac_size, mac_length ) );
2543 (void) mac_size;