Home
last modified time | relevance | path

Searched refs:hash_context_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/crypto/
Dsignature_verifier_nss.cc68 hash_context_(NULL) { in SignatureVerifier()
82 if (vfy_context_ || hash_context_) in VerifyInit()
145 if (vfy_context_ || hash_context_) in VerifyInitRSAPSS()
159 hash_context_ = HASH_Create(ToNSSHashType(hash_alg_)); in VerifyInitRSAPSS()
160 if (!hash_context_) in VerifyInitRSAPSS()
162 HASH_Begin(hash_context_); in VerifyInitRSAPSS()
172 HASH_Update(hash_context_, data_part, data_part_len); in VerifyUpdate()
181 rv = VerifyRSAPSS_End(public_key_, hash_context_, in VerifyFinal()
215 if (hash_context_) { in Reset()
216 HASH_Destroy(hash_context_); in Reset()
[all …]
Dsignature_verifier.h140 HASHContext* hash_context_; variable
/external/chromium_org/content/child/webcrypto/
Dplatform_crypto_nss.cc854 : hash_context_(NULL), algorithm_id_(algorithm_id) {} in DigestorNSS()
857 if (!hash_context_) in ~DigestorNSS()
860 HASH_Destroy(hash_context_); in ~DigestorNSS()
861 hash_context_ = NULL; in ~DigestorNSS()
870 if (!hash_context_) { in ConsumeWithStatus()
876 HASH_Update(hash_context_, data, size); in ConsumeWithStatus()
891 if (!hash_context_) in FinishWithVectorAndStatus()
894 unsigned int result_length = HASH_ResultLenContext(hash_context_); in FinishWithVectorAndStatus()
908 hash_context_ = HASH_Create(hash_type); in Init()
909 if (!hash_context_) in Init()
[all …]