Home
last modified time | relevance | path

Searched refs:ComputeHmac (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
Dmessagedigest_unittest.cc69 ComputeHmac(DIGEST_MD5, std::string(16, '\x0b'), "Hi There")); in TEST()
71 ComputeHmac(DIGEST_MD5, "Jefe", "what do ya want for nothing?")); in TEST()
73 ComputeHmac(DIGEST_MD5, std::string(16, '\xaa'), in TEST()
76 ComputeHmac(DIGEST_MD5, in TEST()
81 ComputeHmac(DIGEST_MD5, std::string(16, '\x0c'), in TEST()
84 ComputeHmac(DIGEST_MD5, std::string(80, '\xaa'), in TEST()
87 ComputeHmac(DIGEST_MD5, std::string(80, '\xaa'), in TEST()
96 ComputeHmac(DIGEST_MD5, key.c_str(), key.size(), in TEST()
101 ComputeHmac(DIGEST_MD5, key.c_str(), key.size(), in TEST()
109 ComputeHmac(DIGEST_SHA_1, std::string(20, '\x0b'), "Hi There")); in TEST()
[all …]
Dmessagedigest.cc107 size_t ComputeHmac(MessageDigest* digest, in ComputeHmac() function
144 size_t ComputeHmac(const std::string& alg, const void* key, size_t key_len, in ComputeHmac() function
151 return ComputeHmac(digest.get(), key, key_len, in ComputeHmac()
155 std::string ComputeHmac(MessageDigest* digest, const std::string& key, in ComputeHmac() function
158 ComputeHmac(digest, key.data(), key.size(), in ComputeHmac()
163 bool ComputeHmac(const std::string& alg, const std::string& key, in ComputeHmac() function
169 *output = ComputeHmac(digest.get(), key, input); in ComputeHmac()
173 std::string ComputeHmac(const std::string& alg, const std::string& key, in ComputeHmac() function
176 ComputeHmac(alg, key, input, &output); in ComputeHmac()
Dmessagedigest.h85 size_t ComputeHmac(MessageDigest* digest, const void* key, size_t key_len,
91 size_t ComputeHmac(const std::string& alg, const void* key, size_t key_len,
96 std::string ComputeHmac(MessageDigest* digest, const std::string& key,
101 std::string ComputeHmac(const std::string& alg, const std::string& key,
104 bool ComputeHmac(const std::string& alg, const std::string& key,
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstun.cc212 size_t ret = rtc::ComputeHmac(rtc::DIGEST_SHA_1, in ValidateMessageIntegrity()
247 size_t ret = rtc::ComputeHmac(rtc::DIGEST_SHA_1, in AddMessageIntegrity()
Dturnserver.cc489 nonce += rtc::ComputeHmac(rtc::DIGEST_MD5, nonce_key_, input); in GenerateNonce()
510 if (nonce.substr(sizeof(then) * 2) != rtc::ComputeHmac( in ValidateNonce()