Searched refs:tag_buf (Results 1 – 2 of 2) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/library/ |
D | gcm.c | 1021 unsigned char tag_buf[16]; in mbedtls_gcm_self_test() local 1082 buf, 16, tag_buf); in mbedtls_gcm_self_test() 1097 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test() 1128 ct_test_data[j * 6 + i], buf, 16, tag_buf); in mbedtls_gcm_self_test() 1136 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test() 1211 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test() 1218 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test() 1291 ret = mbedtls_gcm_finish(&ctx, NULL, 0, &olen, tag_buf, 16); in mbedtls_gcm_self_test() 1298 memcmp(tag_buf, tag_test_data[j * 6 + i], 16) != 0) { in mbedtls_gcm_self_test()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_ccm.function | 196 uint8_t *tag_buf = NULL; 207 TEST_CALLOC(tag_buf, expected_tag_len); 214 io_msg_buf, io_msg_buf, tag_buf, expected_tag_len), 0); 217 TEST_MEMORY_COMPARE(tag_buf, expected_tag_len, expected_tag, expected_tag_len); 241 mbedtls_free(tag_buf); 349 uint8_t *tag_buf = NULL; 368 TEST_CALLOC(tag_buf, 16); 370 TEST_CALLOC(tag_buf, expected_tag_len); 388 io_msg_buf, tag_buf, expected_tag_len), output_ret); 391 TEST_MEMORY_COMPARE(tag_buf, expected_tag_len, expected_tag, expected_tag_len); [all …]
|