Home | History | Annotate | Download | only in base

Lines Matching defs:output

27   // Test the raw buffer versions of the APIs; also check output buffer size.
28 char output[16];
29 EXPECT_EQ(sizeof(output),
30 ComputeDigest(DIGEST_MD5, "abc", 3, output, sizeof(output)));
32 hex_encode(output, sizeof(output)));
34 ComputeDigest(DIGEST_MD5, "abc", 3, output, sizeof(output) - 1));
48 // Test the raw buffer versions of the APIs; also check output buffer size.
49 char output[20];
50 EXPECT_EQ(sizeof(output),
51 ComputeDigest(DIGEST_SHA_1, "abc", 3, output, sizeof(output)));
53 hex_encode(output, sizeof(output)));
55 ComputeDigest(DIGEST_SHA_1, "abc", 3, output, sizeof(output) - 1));
60 std::string output;
61 EXPECT_FALSE(ComputeDigest("sha-9000", "abc", &output));
91 // Test the raw buffer versions of the APIs; also check output buffer size.
94 char output[16];
95 EXPECT_EQ(sizeof(output),
97 input.c_str(), input.size(), output, sizeof(output)));
99 hex_encode(output, sizeof(output)));
102 input.c_str(), input.size(), output, sizeof(output) - 1));
131 // Test the raw buffer versions of the APIs; also check output buffer size.
134 char output[20];
135 EXPECT_EQ(sizeof(output),
137 input.c_str(), input.size(), output, sizeof(output)));
139 hex_encode(output, sizeof(output)));
142 input.c_str(), input.size(), output, sizeof(output) - 1));
146 std::string output;
147 EXPECT_FALSE(ComputeHmac("sha-9000", "key", "abc", &output));