Searched refs:tag_buf (Results 1 – 2 of 2) sorted by relevance
/mbedtls-3.6.0/library/ |
D | gcm.c | 859 unsigned char tag_buf[16]; in mbedtls_gcm_self_test() local 920 buf, 16, tag_buf); in mbedtls_gcm_self_test() 935 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test() 966 ct_test_data[j * 6 + i], buf, 16, tag_buf); in mbedtls_gcm_self_test() 974 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test() 1049 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() 1129 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test() 1136 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test()
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_ccm.function | 188 uint8_t *tag_buf = NULL; 199 TEST_CALLOC(tag_buf, expected_tag_len); 205 io_msg_buf, io_msg_buf, tag_buf, expected_tag_len), 0); 208 TEST_MEMORY_COMPARE(tag_buf, expected_tag_len, expected_tag, expected_tag_len); 232 mbedtls_free(tag_buf); 335 uint8_t *tag_buf = NULL; 354 TEST_CALLOC(tag_buf, 16); 356 TEST_CALLOC(tag_buf, expected_tag_len); 373 io_msg_buf, tag_buf, expected_tag_len), output_ret); 376 TEST_MEMORY_COMPARE(tag_buf, expected_tag_len, expected_tag, expected_tag_len); [all …]
|