Home
last modified time | relevance | path

Searched refs:mac_length (Results 1 – 13 of 13) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_mac.c43 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/
Dmac.h57 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/
Dpsa_crypto_mac.c418 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()
Dpsa_crypto_mac.h67 size_t *mac_length);
210 size_t *mac_length );
250 size_t mac_length );
Dpsa_crypto_driver_wrappers.c2006 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 …]
Dpsa_crypto_driver_wrappers.h297 size_t *mac_length );
322 size_t *mac_length );
327 size_t mac_length );
Dpsa_crypto.c2433 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/
Dcrypto.h1231 size_t *mac_length);
1271 size_t mac_length);
1520 size_t *mac_length);
1563 size_t mac_length);
Dcrypto_se_driver.h243 size_t mac_length);
306 size_t mac_length);
Dcrypto_values.h1007 #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/
Dpsa_exercise_key.c124 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/
Dtest_suite_psa_crypto_driver_wrappers.function1212 size_t mac_length = 0;
1239 &mac_length );
1285 &mac_length );
1308 actual_mac, mac_length );
Dtest_suite_psa_crypto.function2398 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 );