Home
last modified time | relevance | path

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

/external/chromium_org/content/child/webcrypto/nss/
Dsha_nss.cc47 : hash_context_(NULL), algorithm_id_(algorithm_id) {} in DigestorNSS()
50 if (!hash_context_) in ~DigestorNSS()
53 HASH_Destroy(hash_context_); in ~DigestorNSS()
54 hash_context_ = NULL; in ~DigestorNSS()
63 if (!hash_context_) { in ConsumeWithStatus()
69 HASH_Update(hash_context_, data, size); in ConsumeWithStatus()
84 if (!hash_context_) in FinishWithVectorAndStatus()
87 unsigned int result_length = HASH_ResultLenContext(hash_context_); in FinishWithVectorAndStatus()
101 hash_context_ = HASH_Create(hash_type); in Init()
102 if (!hash_context_) in Init()
[all …]
/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.h139 HASHContext* hash_context_; variable