Searched refs:tag_buf (Results 1 – 2 of 2) sorted by relevance
/mbedtls-development/library/ |
A D | gcm.c | 889 unsigned char tag_buf[16]; in mbedtls_gcm_self_test() local 931 buf, 16, tag_buf ); in mbedtls_gcm_self_test() 946 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test() 975 ct_test_data[j * 6 + i], buf, 16, tag_buf ); in mbedtls_gcm_self_test() 982 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test() 1050 ret = mbedtls_gcm_finish( &ctx, NULL, 0, &olen, tag_buf, 16 ); in mbedtls_gcm_self_test() 1056 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test() 1122 ret = mbedtls_gcm_finish( &ctx, NULL, 0, &olen, tag_buf, 16 ); in mbedtls_gcm_self_test() 1128 memcmp( tag_buf, tag_test_data[j * 6 + i], 16 ) != 0 ) in mbedtls_gcm_self_test()
|
/mbedtls-development/tests/suites/ |
A D | test_suite_ccm.function | 186 uint8_t* tag_buf = NULL; 196 ASSERT_ALLOC( tag_buf, expected_tag_len ); 202 io_msg_buf, io_msg_buf, tag_buf, expected_tag_len ), 0); 205 ASSERT_COMPARE( tag_buf, expected_tag_len, expected_tag, expected_tag_len ); 230 mbedtls_free( tag_buf ); 334 uint8_t* tag_buf = NULL; 351 ASSERT_ALLOC( tag_buf, 16 ); 353 ASSERT_ALLOC( tag_buf, expected_tag_len ); 369 io_msg_buf, tag_buf, expected_tag_len), output_ret ); 372 ASSERT_COMPARE( tag_buf, expected_tag_len, expected_tag, expected_tag_len ); [all …]
|
Completed in 6 milliseconds