ecdsa adaptor sigs [WIP] #861

pull jesseposner wants to merge 28 commits into bitcoin-core:master from jesseposner:jp/ecdsa-adaptor-sigs changing 9 files +855 −0
  1. jesseposner commented at 7:48 AM on December 23, 2020: none

    No description provided.

  2. add ecdsa_adaptor module 90697912f0
  3. Move R from adaptor_proof to adaptor_sig and fix args of _adapt ba796036c0
  4. Add dleq proof and dleq verify 20ce8325f9
  5. Move dleq things in own file and add adaptor sign 05d2374ac7
  6. Add ecdsa_adaptor_sig_verify d5000c1473
  7. Add ecdsa_adaptor_adapt 15485afe7b
  8. add ecdsa_adaptor_extract_secret 279f1d5232
  9. cleanup: stricter input validation b8efd902dc
  10. Cleanup a few more things 14451dd327
  11. Fix adaptor_sig_verify: should compare scalars and not fe's 15c73fc805
  12. Clean up docs and reenable tests 12216816d3
  13. Make ecdsa_adaptor_sig_verify compare full points instead of only x coords 89f738d63e
  14. Add gen2 to dleq challenge and nonce function e7441bd2b5
  15. Update TODOs cf08619f31
  16. Update docs 39a80653d2
  17. Fix dleq tag by removing trailing NUL bytes e58add3ed4
  18. Fix not checking return value of dleq_proof in ecdsa_adaptor_sign ebb606e33d
  19. Fix dleq tag for challenge hash too 7c37bb478a
  20. Fix not checking the return value of secp256k1_ge_set_xo_var 37a34523dd
  21. Return 0 in ecdsa_adaptor_extract_secret if the sigs are unrelated 6c47844b64
  22. Fix merge 8c0c32f15b
  23. Fix merge c5beec2753
  24. Revise serialization to match latest spec 3246e15f9c
  25. Add spec test vector a8ae2126a4
  26. Remove cruft 0e5c845246
  27. Fix variable name 1c823825f1
  28. Add secp256k1_ecdsa_adaptor_adapt test 9ecedf1c16
  29. Add secp256k1_ecdsa_adaptor_extract_secret test 420a946014
  30. jonasnick commented at 3:07 PM on December 23, 2020: contributor

    This is really cool - thank you for taking it over.

    The current consensus is that this library should focus on the demands of Bitcoin Core. Modules outside of that focus can go into the libsecp-zkp fork. I initially wrote this code on top of libsecp, because libsecp-zkp was not up-to-date with the most recent libsecp. But that's not the case anymore and we have mechanisms in place now to bring libsecp-zkp in sync. Therefore, I'd recommend to rebase on top of libsecp-zkp (which should be very straightforward) and open a PR there.

  31. jesseposner commented at 5:27 PM on December 23, 2020: none

    @jonasnick Thanks for the heads-up! I will re-open the PR in libsecp-zkp.

  32. jesseposner closed this on Dec 23, 2020

  33. bitcoin-core deleted a comment on Dec 24, 2020
  34. jesseposner commented at 7:54 PM on December 30, 2020: none

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-23 00:15 UTC

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