Searched refs:kSHA1DigestSize (Results 1 - 1 of 1) sorted by relevance

/external/chromium/crypto/
H A Dhmac_unittest.cc10 static const int kSHA1DigestSize = 20; variable
22 const unsigned char kReceivedHmac[kSHA1DigestSize] =
57 unsigned char calculated_hmac[kSHA1DigestSize];
59 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize));
60 EXPECT_EQ(0, memcmp(kReceivedHmac, calculated_hmac, kSHA1DigestSize));
128 unsigned char digest[kSHA1DigestSize];
129 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize));
130 EXPECT_EQ(0, memcmp(cases[i].digest, digest, kSHA1DigestSize));
192 unsigned char calculated_hmac[kSHA1DigestSize];
194 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize));
[all...]

Completed in 71 milliseconds