Searched refs:expected_mac (Results 1 – 4 of 4) sorted by relevance
170 const string& expected_mac);
617 Digest digest, const string& expected_mac) { in CheckHmacTestVector() argument623 .Authorization(TAG_MIN_MAC_LENGTH, expected_mac.size() * 8) in CheckHmacTestVector()626 string signature = MacMessage(message, digest, expected_mac.size() * 8); in CheckHmacTestVector()627 EXPECT_EQ(expected_mac, signature) in CheckHmacTestVector()
765 const string& expected_mac) { in CheckHmacTestVector() argument771 .Authorization(TAG_MIN_MAC_LENGTH, expected_mac.size() * 8) in CheckHmacTestVector()774 string signature = MacMessage(message, digest, expected_mac.size() * 8); in CheckHmacTestVector()775 EXPECT_EQ(expected_mac, signature) << "Test vector didn't match for digest " << (int)digest; in CheckHmacTestVector()