Lines Matching refs:mac
31 const std::vector<uint8_t> &mac) { in TestSIMD() argument
67 EXPECT_EQ(Bytes(out), Bytes(mac)) << "SIMD pattern " << excess << " failed."; in TestSIMD()
72 std::vector<uint8_t> key, in, mac; in TEST() local
75 ASSERT_TRUE(t->GetBytes(&mac, "MAC")); in TEST()
77 ASSERT_EQ(16u, mac.size()); in TEST()
85 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Single-shot Poly1305 failed."; in TEST()
93 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Streaming Poly1305 failed."; in TEST()
103 EXPECT_EQ(Bytes(unaligned_out + 1, 16), Bytes(mac)) in TEST()
108 TestSIMD(0, key, in, mac); in TEST()
109 TestSIMD(16, key, in, mac); in TEST()
110 TestSIMD(32, key, in, mac); in TEST()
111 TestSIMD(48, key, in, mac); in TEST()