Home
last modified time | relevance | path

Searched refs:hash_alg_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/crypto/
Dhmac_openssl.cc24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
26 DCHECK(hash_alg_ == SHA1 || hash_alg_ == SHA256); in HMAC()
57 return ::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), in Sign()
Dhmac_win.cc107 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
109 DCHECK(hash_alg_ == SHA1 || hash_alg_ == SHA256); in HMAC()
119 if (hash_alg_ == SHA256) { in Init()
172 if (hash_alg_ == SHA256) { in Sign()
184 if (hash_alg_ != SHA1) { in Sign()
Dhmac_nss.cc24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
26 switch (hash_alg_) { in HMAC()
Dsignature_verifier_nss.cc64 hash_alg_(SHA1), in SignatureVerifier()
156 hash_alg_ = hash_alg; in VerifyInitRSAPSS()
159 hash_context_ = HASH_Create(ToNSSHashType(hash_alg_)); in VerifyInitRSAPSS()
Dhmac.h85 HashAlgorithm hash_alg_;
Dhmac.cc25 switch (hash_alg_) { in DigestLength()
Dsignature_verifier.h136 HashAlgorithm hash_alg_; variable