Lines Matching refs:verify_context_
25 : verify_context_(NULL) { in SignatureVerifier()
38 DCHECK(!verify_context_); in VerifyInit()
39 verify_context_ = new VerifyContext; in VerifyInit()
59 verify_context_->public_key.reset(d2i_PUBKEY_bio(bio.get(), NULL)); in VerifyInit()
60 if (!verify_context_->public_key.get()) in VerifyInit()
63 verify_context_->ctx.reset(EVP_MD_CTX_create()); in VerifyInit()
64 int rv = EVP_VerifyInit_ex(verify_context_->ctx.get(), digest, NULL); in VerifyInit()
70 DCHECK(verify_context_); in VerifyUpdate()
72 int rv = EVP_VerifyUpdate(verify_context_->ctx.get(), in VerifyUpdate()
78 DCHECK(verify_context_); in VerifyFinal()
80 int rv = EVP_VerifyFinal(verify_context_->ctx.get(), in VerifyFinal()
82 verify_context_->public_key.get()); in VerifyFinal()
89 delete verify_context_; in Reset()
90 verify_context_ = NULL; in Reset()