Searched refs:digest_buffer (Results 1 – 2 of 2) sorted by relevance
72 Buffer digest_buffer(reinterpret_cast<uint8_t*>(digest_copy), sizeof(digest_copy)); in TEST() local75 EXPECT_TRUE(hmac.Verify(data_buffer, digest_buffer)); in TEST()78 digest_buffer.Reinitialize(reinterpret_cast<uint8_t*>(digest_copy), sizeof(digest_copy)); in TEST()79 EXPECT_FALSE(hmac.Verify(data_buffer, digest_buffer)); in TEST()
54 std::vector<uint8_t> digest_buffer(SHA256_DIGEST_LENGTH); in signature2SHA256() local55 SHA256(sig.data().data(), sig.data().size(), digest_buffer.data()); in signature2SHA256()56 return digest_buffer; in signature2SHA256()