Home
last modified time | relevance | path

Searched refs:extra_in_size (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
Daead_test.cc245 for (size_t extra_in_size = 0; extra_in_size < in.size(); extra_in_size++) { in TEST_P() local
247 SCOPED_TRACE(extra_in_size); in TEST_P()
251 in.size() - extra_in_size, in.data() + in.size() - extra_in_size, in TEST_P()
252 extra_in_size, ad.data(), ad.size())); in TEST_P()
254 ASSERT_EQ(tag_bytes_written, extra_in_size + tag.size()); in TEST_P()
256 memcpy(out.data() + in.size() - extra_in_size, out_tag.data(), in TEST_P()
257 extra_in_size); in TEST_P()
260 EXPECT_EQ(Bytes(tag), Bytes(out_tag.data() + extra_in_size, in TEST_P()
261 tag_bytes_written - extra_in_size)); in TEST_P()
/external/boringssl/src/crypto/cipher_extra/
Daead_test.cc316 for (size_t extra_in_size = 0; extra_in_size < in.size(); extra_in_size++) { in TEST_P() local
318 SCOPED_TRACE(extra_in_size); in TEST_P()
322 in.size() - extra_in_size, in.data() + in.size() - extra_in_size, in TEST_P()
323 extra_in_size, ad.data(), ad.size())); in TEST_P()
325 ASSERT_EQ(tag_bytes_written, extra_in_size + tag.size()); in TEST_P()
327 memcpy(out.data() + in.size() - extra_in_size, out_tag.data(), in TEST_P()
328 extra_in_size); in TEST_P()
331 EXPECT_EQ(Bytes(tag), Bytes(out_tag.data() + extra_in_size, in TEST_P()
332 tag_bytes_written - extra_in_size)); in TEST_P()