Home
last modified time | relevance | path

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

/openthread-3.7.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_mac.c31 size_t *mac_length) 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()
62 (void) mac_length; in mbedtls_test_transparent_mac_compute()
179 size_t *mac_length) 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()
200 (void) mac_length; in mbedtls_test_transparent_mac_sign_finish()
211 size_t mac_length) in mbedtls_test_transparent_mac_verify_finish() argument
223 operation, mac, mac_length); in mbedtls_test_transparent_mac_verify_finish()
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/tests/include/test/drivers/
Dmac.h45 size_t *mac_length);
70 size_t *mac_length);
75 size_t mac_length);
89 size_t *mac_length);
114 size_t *mac_length);
119 size_t mac_length);
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dpsa_crypto_mac.h55 size_t *mac_length);
198 size_t *mac_length);
238 size_t mac_length);
Dpsa_crypto_mac.c407 size_t *mac_length) in mbedtls_psa_mac_sign_finish() argument
417 *mac_length = mac_size; in mbedtls_psa_mac_sign_finish()
426 size_t mac_length) in mbedtls_psa_mac_verify_finish() argument
436 if (mac_length > sizeof(actual_mac)) { in mbedtls_psa_mac_verify_finish()
440 status = psa_mac_finish_internal(operation, actual_mac, mac_length); in mbedtls_psa_mac_verify_finish()
445 if (mbedtls_ct_memcmp(mac, actual_mac, mac_length) != 0) { in mbedtls_psa_mac_verify_finish()
464 size_t *mac_length) in mbedtls_psa_mac_compute() argument
485 *mac_length = mac_size; in mbedtls_psa_mac_compute()
Dpsa_crypto_driver_wrappers.h2205 size_t *mac_length ) in psa_driver_wrapper_mac_compute() argument
2221 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2232 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2245 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2258 (void) mac_length; in psa_driver_wrapper_mac_compute()
2445 size_t *mac_length ) in psa_driver_wrapper_mac_sign_finish() argument
2452 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2460 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2465 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2471 (void) mac_length; in psa_driver_wrapper_mac_sign_finish()
[all …]
Dpsa_crypto.c2693 size_t *mac_length) in psa_mac_sign_finish() argument
2725 mac_length); in psa_mac_sign_finish()
2735 *mac_length = mac_size; in psa_mac_sign_finish()
2740 psa_wipe_tag_output_buffer(mac, status, mac_size, *mac_length); in psa_mac_sign_finish()
2751 size_t mac_length) in psa_mac_verify_finish() argument
2767 if (operation->mac_size != mac_length) { in psa_mac_verify_finish()
2772 LOCAL_INPUT_ALLOC(mac_external, mac_length, mac); in psa_mac_verify_finish()
2774 mac, mac_length); in psa_mac_verify_finish()
2789 size_t *mac_length, in psa_mac_compute_internal() argument
2822 mac, operation_mac_size, mac_length); in psa_mac_compute_internal()
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_hash.function60 size_t mac_length = 0;
64 &mac_length));
67 ASSERT_COMPARE(expected_mac->x, expected_mac->len, mac, mac_length);
Dtest_suite_psa_crypto_driver_wrappers.function1796 size_t mac_length = 0;
1823 &mac_length);
1838 actual_mac, mac_length);
1870 size_t mac_length = 0;
1933 &mac_length);
1956 actual_mac, mac_length);
Dtest_suite_psa_crypto.function3706 size_t mac_length = 0;
3740 actual_mac, output_size, &mac_length),
3744 actual_mac, mac_length);
3757 &mac_length),
3763 actual_mac, mac_length);
/openthread-3.7.0/third_party/mbedtls/repo/include/psa/
Dcrypto.h1217 size_t *mac_length);
1257 size_t mac_length);
1502 size_t *mac_length);
1544 size_t mac_length);
Dcrypto_se_driver.h231 size_t mac_length);
294 size_t mac_length);
Dcrypto_values.h1068 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ argument
1071 ((mac_length) << PSA_MAC_TRUNCATION_OFFSET & PSA_ALG_MAC_TRUNCATION_MASK))
/openthread-3.7.0/third_party/mbedtls/repo/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja2168 size_t *mac_length )
2184 mac, mac_size, mac_length );
2195 mac, mac_size, mac_length );
2208 mac, mac_size, mac_length );
2221 (void) mac_length;
2408 size_t *mac_length )
2415 mac, mac_size, mac_length ) );
2423 mac, mac_size, mac_length ) );
2428 mac, mac_size, mac_length ) );
2434 (void) mac_length;
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c128 size_t mac_length = sizeof(mac); in exercise_mac_key() local
147 &mac_length)); in exercise_mac_key()
164 TEST_EQUAL(psa_mac_verify_finish(&operation, mac, mac_length), in exercise_mac_key()