tests: Add fuzzing harness for SigHasLowR(...) and ecdsa_signature_parse_der_lax(...)
This commit is contained in:
1 parent
a2a250c7d0
commit
b667a90389
3 files changed
+41
-1
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ secp256k1_context* secp256k1_context_verify = nullptr;
|
||||
* strict DER before being passed to this module, and we know it supports all
|
||||
* violations present in the blockchain before that point.
|
||||
*/
|
||||
static int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_signature* sig, const unsigned char *input, size_t inputlen) {
|
||||
int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_signature* sig, const unsigned char *input, size_t inputlen) {
|
||||
size_t rpos, rlen, spos, slen;
|
||||
size_t pos = 0;
|
||||
size_t lenbyte;
|
||||
|
||||
Reference in new issue
Block a user