Home
last modified time | relevance | path

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

/external/chromium_org/components/rappor/
Dbyte_vector_utils.cc150 hmac_(crypto::HMAC::SHA256), in HmacByteVectorGenerator()
151 value_(hmac_.DigestLength(), 0x01), in HmacByteVectorGenerator()
162 if (!hmac1.Init(std::string(hmac_.DigestLength(), 0x00))) in HmacByteVectorGenerator()
168 if (!HMAC_DRBG_Update(seed_material, hmac1, &value_, &hmac_)) in HmacByteVectorGenerator()
177 hmac_(crypto::HMAC::SHA256), in HmacByteVectorGenerator()
180 if (!HMAC_DRBG_Update("", prev_request.hmac_, &value_, &hmac_)) in HmacByteVectorGenerator()
199 const size_t digest_length = hmac_.DigestLength(); in GetRandomByteVector()
209 if (!HMAC_Rehash(hmac_, &value_)) in GetRandomByteVector()
Dbyte_vector_utils.h102 crypto::HMAC hmac_;
/external/chromium_org/chrome/browser/profile_resetter/
Djtl_foundation.cc13 Hasher::Hasher(const std::string& seed) : hmac_(crypto::HMAC::SHA256) { in Hasher()
14 if (!hmac_.Init(seed)) in Hasher()
24 if (!hmac_.Sign(input, digest, arraysize(digest))) { in GetHash()
Djtl_foundation.h186 crypto::HMAC hmac_;
/external/chromium_org/content/child/webcrypto/
Dalgorithm_registry.cc27 hmac_(CreatePlatformHmacImplementation()), in AlgorithmRegistry()
50 return hmac_.get(); in GetAlgorithm()
66 const scoped_ptr<AlgorithmImplementation> hmac_; member in content::webcrypto::__anon495833200111::AlgorithmRegistry