Home
last modified time | relevance | path

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

/mbedtls-3.6.0/tests/src/drivers/
Dtest_driver_mac.c30 size_t mac_size, in mbedtls_test_transparent_mac_compute() argument
46 mac, mac_size, mac_length); in mbedtls_test_transparent_mac_compute()
52 mac, mac_size, mac_length); in mbedtls_test_transparent_mac_compute()
61 (void) mac_size; in mbedtls_test_transparent_mac_compute()
178 size_t mac_size, in mbedtls_test_transparent_mac_sign_finish() argument
191 operation, mac, mac_size, mac_length); in mbedtls_test_transparent_mac_sign_finish()
195 operation, mac, mac_size, mac_length); in mbedtls_test_transparent_mac_sign_finish()
199 (void) mac_size; in mbedtls_test_transparent_mac_sign_finish()
272 size_t mac_size, in mbedtls_test_opaque_mac_compute() argument
288 (void) mac_size; in mbedtls_test_opaque_mac_compute()
[all …]
/mbedtls-3.6.0/library/
Dpsa_crypto_mac.c114 size_t mac_size) in psa_hmac_finish_internal() argument
148 memcpy(mac, tmp, mac_size); in psa_hmac_finish_internal()
374 uint8_t *mac, size_t mac_size) in psa_mac_finish_internal() argument
381 memcpy(mac, tmp, mac_size); in psa_mac_finish_internal()
390 mac, mac_size); in psa_mac_finish_internal()
398 (void) mac_size; in psa_mac_finish_internal()
406 size_t mac_size, in mbedtls_psa_mac_sign_finish() argument
415 status = psa_mac_finish_internal(operation, mac, mac_size); in mbedtls_psa_mac_sign_finish()
417 *mac_length = mac_size; in mbedtls_psa_mac_sign_finish()
463 size_t mac_size, in mbedtls_psa_mac_compute() argument
[all …]
Dpsa_crypto_mac.h54 size_t mac_size,
197 size_t mac_size,
Dpsa_crypto_driver_wrappers.h2529 size_t mac_size, in psa_driver_wrapper_mac_compute() argument
2549 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2557 mac, mac_size, mac_length); in psa_driver_wrapper_mac_compute()
2566 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2579 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2591 (void) mac_size; in psa_driver_wrapper_mac_compute()
2806 size_t mac_size, in psa_driver_wrapper_mac_sign_finish() argument
2814 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2822 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2827 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
[all …]
Dpsa_crypto.c2338 operation->mac_size = 0;
2348 uint8_t *mac_size) argument
2365 *mac_size = PSA_MAC_LENGTH(key_type, key_bits, alg);
2367 if (*mac_size < 4) {
2375 if (*mac_size > PSA_MAC_LENGTH(key_type, key_bits,
2382 if (*mac_size > PSA_MAC_MAX_SIZE) {
2428 &operation->mac_size);
2498 size_t mac_size, argument
2516 if (operation->mac_size == 0) {
2521 if (mac_size < operation->mac_size) {
[all …]
/mbedtls-3.6.0/tests/include/test/drivers/
Dmac.h44 size_t mac_size,
69 size_t mac_size,
88 size_t mac_size,
113 size_t mac_size,
/mbedtls-3.6.0/include/psa/
Dcrypto_se_driver.h210 size_t mac_size,
265 size_t mac_size,
Dcrypto.h1209 size_t mac_size,
1494 size_t mac_size,
Dcrypto_struct.h119 uint8_t MBEDTLS_PRIVATE(mac_size);
/mbedtls-3.6.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja2141 size_t mac_size,
2158 mac, mac_size, mac_length );
2169 mac, mac_size, mac_length );
2182 mac, mac_size, mac_length );
2194 (void) mac_size;
2381 size_t mac_size,
2389 mac, mac_size, mac_length ) );
2397 mac, mac_size, mac_length ) );
2402 mac, mac_size, mac_length ) );
2407 (void) mac_size;