musig: add input JSON files for generating test vectors #1786

pull theStack wants to merge 1 commits into bitcoin-core:master from theStack:add_musig2_test_vectors_json changing 9 files +801 −0
  1. theStack commented at 1:37 am on December 12, 2025: contributor

    While looking up past review history of the previous silentpayments PR (take 3), I’ve found that adding the input JSON files for generating the musig test vectors was suggested once there: #1698 (comment)

    Can be tested by first comparing that the .json files match the ones from the bips repository’s bip-0327/vectors folder and then running e.g.

    0$ rm src/modules/musig/vectors.h
    1$ make src/modules/musig/vectors.h
    2$ git diff
    3<should not show any diff>
    
  2. musig: add input JSON files for test vectors 12bba63869
  3. real-or-random added the label assurance on Dec 12, 2025
  4. real-or-random added the label tweak/refactor on Dec 12, 2025
  5. real-or-random commented at 8:07 am on December 12, 2025: contributor
    Concept ACK
  6. kevkevinpal commented at 3:17 pm on December 13, 2025: contributor

    Concept ACK


    I was also able to run these commands and get the same results

    0$ rm src/modules/musig/vectors.h
    1$ make src/modules/musig/vectors.h
    2$ git diff
    3<should not show any diff>
    

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: 2025-12-14 20:15 UTC

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