This PR implements the proof of concept proposed here.
Schnorr Batch Verification Interface #1107
pull siv2r wants to merge 4 commits into bitcoin-core:master from siv2r:batch-verify-interface changing 4 files +141 −14-
siv2r commented at 11:51 AM on May 16, 2022: contributor
-
36d2500317
batch_verification: Initial setup
- `schnorrsig_batch_context_create` - `schnorrsig_batch_context_destroy` - simple test that calls both create and destroy (failing)
-
1c8eb1cf30
fix context_destroy error
destroying the scratch space when its alloc_size > 0 leads to an error
-
f29015dd88
ecmult_strauss_batch: refactor to support pre-filled (with scalars and points) scratch space
added two new arguments to strauss_batch: 1. scratch_sclrs 2. scratch_pts if scrach_sclrs = scratch_pts = NULL: strauss_batch allocates points and scalars else strauss assumes (points, scalars) are already present in scratch
-
dc2944ff8e
batch_interface: refactor to support secp256k1_context
secp256k1_context obj is used for its error_callback function
- siv2r closed this on May 16, 2022
-
siv2r commented at 12:26 PM on May 16, 2022: contributor
Sorry, I opened this PR by mistake.
Contributors