/mbedtls-3.5.0/tests/src/drivers/ |
D | test_driver_mac.c | 43 size_t *mac_length) 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() 74 (void) mac_length; in mbedtls_test_transparent_mac_compute() 191 size_t *mac_length) 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() 212 (void) mac_length; in mbedtls_test_transparent_mac_sign_finish() 223 size_t mac_length) in mbedtls_test_transparent_mac_verify_finish() argument 235 operation, mac, mac_length); in mbedtls_test_transparent_mac_verify_finish() [all …]
|
/mbedtls-3.5.0/tests/include/test/drivers/ |
D | mac.h | 57 size_t *mac_length); 82 size_t *mac_length); 87 size_t mac_length); 101 size_t *mac_length); 126 size_t *mac_length); 131 size_t mac_length);
|
/mbedtls-3.5.0/library/ |
D | psa_crypto_mac.c | 418 size_t *mac_length) in mbedtls_psa_mac_sign_finish() argument 428 *mac_length = mac_size; in mbedtls_psa_mac_sign_finish() 437 size_t mac_length) in mbedtls_psa_mac_verify_finish() argument 447 if (mac_length > sizeof(actual_mac)) { in mbedtls_psa_mac_verify_finish() 451 status = psa_mac_finish_internal(operation, actual_mac, mac_length); in mbedtls_psa_mac_verify_finish() 456 if (mbedtls_psa_safer_memcmp(mac, actual_mac, mac_length) != 0) { in mbedtls_psa_mac_verify_finish() 475 size_t *mac_length) in mbedtls_psa_mac_compute() argument 496 *mac_length = mac_size; in mbedtls_psa_mac_compute()
|
D | psa_crypto_mac.h | 67 size_t *mac_length); 210 size_t *mac_length); 250 size_t mac_length);
|
D | psa_crypto_driver_wrappers.c | 2696 size_t *mac_length ) 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() 2758 (void) mac_length; in psa_driver_wrapper_mac_compute() 2973 size_t *mac_length ) 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 …]
|
D | psa_crypto_driver_wrappers.h | 333 size_t *mac_length); 358 size_t *mac_length); 363 size_t mac_length);
|
D | psa_crypto.c | 2538 size_t *mac_length) argument 2567 mac_length); 2577 *mac_length = mac_size; 2581 psa_wipe_tag_output_buffer(mac, status, mac_size, *mac_length); 2590 size_t mac_length) argument 2605 if (operation->mac_size != mac_length) { 2611 mac, mac_length); 2625 size_t *mac_length, argument 2662 mac, operation_mac_size, mac_length); 2672 *mac_length = mac_size; [all …]
|
/mbedtls-3.5.0/include/psa/ |
D | crypto.h | 1222 size_t *mac_length); 1262 size_t mac_length); 1507 size_t *mac_length); 1549 size_t mac_length);
|
D | crypto_se_driver.h | 243 size_t mac_length); 306 size_t mac_length);
|
D | crypto_values.h | 1060 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument 1063 ((mac_length) << PSA_MAC_TRUNCATION_OFFSET & PSA_ALG_MAC_TRUNCATION_MASK))
|
/mbedtls-3.5.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 2278 size_t *mac_length ) 2294 mac, mac_size, mac_length ); 2305 mac, mac_size, mac_length ); 2318 mac, mac_size, mac_length ); 2331 (void) mac_length; 2518 size_t *mac_length ) 2525 mac, mac_size, mac_length ) ); 2533 mac, mac_size, mac_length ) ); 2538 mac, mac_size, mac_length ) ); 2544 (void) mac_length; [all …]
|
/mbedtls-3.5.0/tests/src/ |
D | psa_exercise_key.c | 120 size_t mac_length = sizeof(mac); in exercise_mac_key() local 133 &mac_length)); in exercise_mac_key() 144 TEST_EQUAL(psa_mac_verify_finish(&operation, mac, mac_length), in exercise_mac_key()
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_psa_crypto_driver_wrappers.function | 1800 size_t mac_length = 0; 1827 &mac_length); 1842 actual_mac, mac_length); 1874 size_t mac_length = 0; 1937 &mac_length); 1960 actual_mac, mac_length);
|
D | test_suite_psa_crypto.function | 3338 size_t mac_length = 0; 3372 actual_mac, output_size, &mac_length), 3376 actual_mac, mac_length); 3389 &mac_length), 3395 actual_mac, mac_length);
|