static */
| 397 | } |
| 398 | |
| 399 | /* static */ bool CPubKey::CheckLowS(const std::vector<unsigned char>& vchSig) { |
| 400 | secp256k1_ecdsa_signature sig; |
| 401 | assert(secp256k1_context_verify && "secp256k1_context_verify must be initialized to use CPubKey."); |
| 402 | if (!ecdsa_signature_parse_der_lax(secp256k1_context_verify, &sig, vchSig.data(), vchSig.size())) { |
| 403 | return false; |
| 404 | } |
| 405 | return (!secp256k1_ecdsa_signature_normalize(secp256k1_context_verify, nullptr, &sig)); |
| 406 | } |
| 407 | |
| 408 | /* static */ int ECCVerifyHandle::refcount = 0; |
| 409 |
nothing calls this directly
no test coverage detected