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
  1. siv2r commented at 11:51 AM on May 16, 2022: contributor

    This PR implements the proof of concept proposed here.

  2. batch_verification: Initial setup
    - `schnorrsig_batch_context_create`
    - `schnorrsig_batch_context_destroy`
    - simple test that calls both create and destroy (failing)
    36d2500317
  3. fix context_destroy error
    destroying the scratch space when its alloc_size > 0 leads to an error
    1c8eb1cf30
  4. 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
    f29015dd88
  5. batch_interface: refactor to support secp256k1_context
    secp256k1_context obj is used for its error_callback function
    dc2944ff8e
  6. siv2r closed this on May 16, 2022

  7. siv2r commented at 12:26 PM on May 16, 2022: contributor

    Sorry, I opened this PR by mistake.

Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 19:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me