Lines Matching refs:digest
15 MD5Digest digest; in TEST() local
25 digest.a[i] = data[i] & 0xff; in TEST()
27 std::string actual = MD5DigestToBase16(digest); in TEST()
34 MD5Digest digest; in TEST() local
37 MD5Sum(data, strlen(data), &digest); in TEST()
47 EXPECT_EQ(expected[i], digest.a[i] & 0xFF); in TEST()
51 MD5Digest digest; in TEST() local
54 MD5Sum(data, strlen(data), &digest); in TEST()
64 EXPECT_EQ(expected[i], digest.a[i] & 0xFF); in TEST()
74 MD5Digest digest; in TEST() local
75 MD5Sum(data.get(), length, &digest); in TEST()
85 EXPECT_EQ(expected[i], digest.a[i] & 0xFF); in TEST()
92 MD5Digest digest; in TEST() local
93 MD5Final(&digest, &ctx); in TEST()
103 EXPECT_EQ(expected[i], digest.a[i] & 0xFF); in TEST()
129 MD5Digest digest; in TEST() local
130 MD5Final(&digest, &ctx); in TEST()
140 EXPECT_EQ(expected[i], digest.a[i] & 0xFF); in TEST()
197 MD5Digest digest; in TEST() local
198 MD5Final(&digest, &ctx); in TEST()
200 std::string actual = MD5DigestToBase16(digest); in TEST()
240 MD5Digest digest; in TEST() local
241 MD5Final(&digest, &context); in TEST()
247 EXPECT_TRUE(!memcmp(&digest, &check_full_digest, sizeof(digest))); in TEST()
248 EXPECT_TRUE(memcmp(&digest, &header_digest, sizeof(digest))); in TEST()