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

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

Completed in 5001 milliseconds