Home
last modified time | relevance | path

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

/external/webrtc/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.cc108 size_t ComputeHmac(MessageDigest* digest, in ComputeHmac() function
146 size_t ComputeHmac(const std::string& alg, const void* key, size_t key_len, in ComputeHmac() function
153 return ComputeHmac(digest.get(), key, key_len, in ComputeHmac()
157 std::string ComputeHmac(MessageDigest* digest, const std::string& key, in ComputeHmac() function
160 ComputeHmac(digest, key.data(), key.size(), in ComputeHmac()
165 bool ComputeHmac(const std::string& alg, const std::string& key, in ComputeHmac() function
171 *output = ComputeHmac(digest.get(), key, input); in ComputeHmac()
175 std::string ComputeHmac(const std::string& alg, const std::string& key, in ComputeHmac() function
178 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/webrtc/webrtc/p2p/base/
Dstun.cc194 size_t ret = rtc::ComputeHmac(rtc::DIGEST_SHA_1, in ValidateMessageIntegrity()
229 size_t ret = rtc::ComputeHmac(rtc::DIGEST_SHA_1, in AddMessageIntegrity()
Dturnserver.cc400 nonce += rtc::ComputeHmac(rtc::DIGEST_MD5, nonce_key_, input); in GenerateNonce()
421 if (nonce.substr(sizeof(then) * 2) != rtc::ComputeHmac( in ValidateNonce()