Searched refs:hmac_ (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/components/rappor/ |
D | byte_vector_utils.cc | 150 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()
|
D | byte_vector_utils.h | 102 crypto::HMAC hmac_;
|
/external/chromium_org/chrome/browser/profile_resetter/ |
D | jtl_foundation.cc | 13 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()
|
D | jtl_foundation.h | 186 crypto::HMAC hmac_;
|
/external/chromium_org/content/child/webcrypto/ |
D | algorithm_registry.cc | 27 hmac_(CreatePlatformHmacImplementation()), in AlgorithmRegistry() 50 return hmac_.get(); in GetAlgorithm() 66 const scoped_ptr<AlgorithmImplementation> hmac_; member in content::webcrypto::__anon495833200111::AlgorithmRegistry
|