Skip to content

Commit

Permalink
fixup: Mention test vectors are in reference impl
Browse files Browse the repository at this point in the history
  • Loading branch information
robot-dreams committed Apr 5, 2022
1 parent f71c297 commit a5b1aaa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions doc/musig-spec.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,7 @@ Avoiding reuse also implies that the ''NonceGen'' algorithm must compute unbiase

== Test Vectors and Reference Code ==

There are some vectors in libsecp256k1's [https://github.com/ElementsProject/secp256k1-zkp/blob/master/src/modules/musig/tests_impl.h MuSig test file].
Search for the ''musig_test_vectors_keyagg'' and ''musig_test_vectors_sign'' functions.

We provide a naive, highly inefficient, and non-constant time [[musig-reference.py|pure Python 3 reference implementation of the key aggregation, partial signing, and partial signature verification algorithms]].
We provide a naive, highly inefficient, and non-constant time [[musig-reference.py|pure Python 3 reference implementation of the key aggregation, partial signing, and partial signature verification algorithms, together with some test vectors]].
The reference implementation is for demonstration purposes only and not to be used in production environments.

== Footnotes ==
Expand Down

0 comments on commit a5b1aaa

Please sign in to comment.