Home
last modified time | relevance | path

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

/openthread-3.5.0/third_party/mbedtls/repo/library/
Dpsa_crypto_mac.c437 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in mbedtls_psa_mac_verify_finish() local
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()
455 mbedtls_platform_zeroize( actual_mac, sizeof( actual_mac ) ); in mbedtls_psa_mac_verify_finish()
Dpsa_crypto.c2651 uint8_t actual_mac[PSA_MAC_MAX_SIZE]; in psa_mac_verify() local
2656 actual_mac, sizeof( actual_mac ), in psa_mac_verify()
2666 if( mbedtls_psa_safer_memcmp( mac, actual_mac, actual_mac_length ) != 0 ) in psa_mac_verify()
2673 mbedtls_platform_zeroize( actual_mac, sizeof( actual_mac ) ); in psa_mac_verify()
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function1209 uint8_t *actual_mac = NULL;
1230 ASSERT_ALLOC( actual_mac, mac_buffer_size );
1238 actual_mac, mac_buffer_size,
1251 memset( actual_mac, 0, mac_buffer_size );
1284 actual_mac, mac_buffer_size,
1308 actual_mac, mac_length );
1311 mbedtls_free( actual_mac );
1312 actual_mac = NULL;
1318 mbedtls_free( actual_mac );
Dtest_suite_psa_crypto.function2122 uint8_t *actual_mac = NULL;
2155 ASSERT_ALLOC( actual_mac, output_size );
2160 actual_mac, output_size, &mac_length ),
2165 actual_mac, mac_length );
2169 memset( actual_mac, 0, output_size );
2176 actual_mac, output_size,
2184 actual_mac, mac_length );
2186 mbedtls_free( actual_mac );
2187 actual_mac = NULL;
2194 mbedtls_free( actual_mac );