Searched refs:hash_alg_ (Results 1 – 7 of 7) sorted by relevance
24 : 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()
107 : 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()
24 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()26 switch (hash_alg_) { in HMAC()
64 hash_alg_(SHA1), in SignatureVerifier()156 hash_alg_ = hash_alg; in VerifyInitRSAPSS()159 hash_context_ = HASH_Create(ToNSSHashType(hash_alg_)); in VerifyInitRSAPSS()
85 HashAlgorithm hash_alg_;
25 switch (hash_alg_) { in DigestLength()
136 HashAlgorithm hash_alg_; variable