Home
last modified time | relevance | path

Searched refs:actual_mac (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/library/
Dpsa_crypto_mac.c439 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish() local
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()
461 mbedtls_platform_zeroize(actual_mac, sizeof(actual_mac)); in mbedtls_psa_mac_verify_finish()
Dpsa_crypto.c2687 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in psa_mac_verify() local
2692 actual_mac, sizeof(actual_mac), in psa_mac_verify()
2702 if (mbedtls_psa_safer_memcmp(mac, actual_mac, actual_mac_length) != 0) { in psa_mac_verify()
2708 mbedtls_platform_zeroize(actual_mac, sizeof(actual_mac)); in psa_mac_verify()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function1797 uint8_t *actual_mac = NULL;
1818 ASSERT_ALLOC(actual_mac, mac_buffer_size);
1826 actual_mac, mac_buffer_size,
1842 actual_mac, mac_length);
1845 mbedtls_free(actual_mac);
1846 actual_mac = NULL;
1852 mbedtls_free(actual_mac);
1871 uint8_t *actual_mac = NULL;
1893 ASSERT_ALLOC(actual_mac, mac_buffer_size);
1936 actual_mac, mac_buffer_size,
[all …]
Dtest_suite_psa_crypto.function3335 uint8_t *actual_mac = NULL;
3367 ASSERT_ALLOC(actual_mac, output_size);
3372 actual_mac, output_size, &mac_length),
3376 actual_mac, mac_length);
3380 memset(actual_mac, 0, output_size);
3388 actual_mac, output_size,
3395 actual_mac, mac_length);
3397 mbedtls_free(actual_mac);
3398 actual_mac = NULL;
3405 mbedtls_free(actual_mac);