MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / verify

Method verify

extra/yassl/src/crypto_wrapper.cpp:610–617  ·  view source on GitHub ↗

DSS Verify message of length sz against sig, is it correct?

Source from the content-addressed store, hash-verified

608
609// DSS Verify message of length sz against sig, is it correct?
610bool DSS::verify(const byte* sha_digest, unsigned int /* shaSz */,
611 const byte* sig, unsigned int /* sigSz */)
612{
613 using namespace TaoCrypt;
614
615 DSA_Verifier ver(pimpl_->publicKey_);
616 return ver.Verify(sha_digest, sig);
617}
618
619
620// Implementation of RSA key interface

Callers 2

readMethod · 0.45
ProcessMethod · 0.45

Calls 2

VerifyMethod · 0.80
SSL_VerifyMethod · 0.80

Tested by

no test coverage detected