/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_mac.c | 43 size_t *mac_length ) in mbedtls_test_transparent_mac_compute() argument 61 mac, mac_size, mac_length ); in mbedtls_test_transparent_mac_compute() 67 mac, mac_size, mac_length ); in mbedtls_test_transparent_mac_compute() 77 (void) mac_length; in mbedtls_test_transparent_mac_compute() 203 size_t *mac_length ) in mbedtls_test_transparent_mac_sign_finish() argument 218 operation, mac, mac_size, mac_length ); in mbedtls_test_transparent_mac_sign_finish() 222 operation, mac, mac_size, mac_length ); in mbedtls_test_transparent_mac_sign_finish() 227 (void) mac_length; in mbedtls_test_transparent_mac_sign_finish() 238 size_t mac_length ) in mbedtls_test_transparent_mac_verify_finish() argument 253 operation, mac, mac_length ); in mbedtls_test_transparent_mac_verify_finish() [all …]
|
/third_party/mbedtls/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 );
|
/third_party/mbedtls/library/ |
D | psa_crypto_mac.c | 418 size_t *mac_length ) in mbedtls_psa_mac_sign_finish() argument 427 *mac_length = mac_size; in mbedtls_psa_mac_sign_finish() 435 size_t mac_length ) in mbedtls_psa_mac_verify_finish() argument 444 if( mac_length > sizeof( actual_mac ) ) in mbedtls_psa_mac_verify_finish() 447 status = psa_mac_finish_internal( operation, actual_mac, mac_length ); in mbedtls_psa_mac_verify_finish() 451 if( mbedtls_psa_safer_memcmp( mac, actual_mac, mac_length ) != 0 ) in mbedtls_psa_mac_verify_finish() 469 size_t *mac_length ) in mbedtls_psa_mac_compute() argument 489 *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 | 2006 size_t *mac_length ) in psa_driver_wrapper_mac_compute() argument 2022 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute() 2033 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute() 2046 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute() 2059 (void) mac_length; in psa_driver_wrapper_mac_compute() 2246 size_t *mac_length ) in psa_driver_wrapper_mac_sign_finish() argument 2253 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish() 2261 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish() 2266 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish() 2272 (void) mac_length; in psa_driver_wrapper_mac_sign_finish() [all …]
|
D | psa_crypto_driver_wrappers.h | 297 size_t *mac_length ); 322 size_t *mac_length ); 327 size_t mac_length );
|
D | psa_crypto.c | 2433 size_t *mac_length ) in psa_mac_sign_finish() argument 2466 mac_length ); in psa_mac_sign_finish() 2477 *mac_length = mac_size; in psa_mac_sign_finish() 2492 size_t mac_length ) in psa_mac_verify_finish() argument 2509 if( operation->mac_size != mac_length ) in psa_mac_verify_finish() 2516 mac, mac_length ); in psa_mac_verify_finish() 2530 size_t *mac_length, in psa_mac_compute_internal() argument 2565 mac, operation_mac_size, mac_length ); in psa_mac_compute_internal() 2576 *mac_length = mac_size; in psa_mac_compute_internal() 2593 size_t *mac_length) in psa_mac_compute() argument [all …]
|
/third_party/mbedtls/include/psa/ |
D | crypto.h | 1231 size_t *mac_length); 1271 size_t mac_length); 1520 size_t *mac_length); 1563 size_t mac_length);
|
D | crypto_se_driver.h | 243 size_t mac_length); 306 size_t mac_length);
|
D | crypto_values.h | 1007 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument 1010 ((mac_length) << PSA_MAC_TRUNCATION_OFFSET & PSA_ALG_MAC_TRUNCATION_MASK))
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 124 size_t mac_length = sizeof( mac ); in exercise_mac_key() local 139 &mac_length ) ); in exercise_mac_key() 151 TEST_EQUAL( psa_mac_verify_finish( &operation, mac, mac_length ), in exercise_mac_key()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_driver_wrappers.function | 1212 size_t mac_length = 0; 1239 &mac_length ); 1285 &mac_length ); 1308 actual_mac, mac_length );
|
D | test_suite_psa_crypto.function | 2398 size_t mac_length = 0; 2433 actual_mac, output_size, &mac_length ), 2438 actual_mac, mac_length ); 2450 &mac_length ), 2457 actual_mac, mac_length );
|