Commit 202b0c9
Add support for musig2 (#93)
* Use Jonas Nick's musig2 branch
* Reformat c code (no functional changes)
* Implement musig2
* Add documentation to musig2 functions (#97)
Usage of the Musig2 functions isn't intuitive at all, especially with
the key aggregation cache and session data. It's important to provide
accurate documentation to help users understand how to correctly produce
musig2 signatures.
We also change argument names to match Kotlin best practices instead of
using the same argument names as C functions.
* Add musig2 reference tests (no functional changes)
---------
Co-authored-by: Bastien Teinturier <[email protected]>1 parent 780f97e commit 202b0c9
File tree
24 files changed
+2881
-581
lines changed- jni
- c
- headers/java
- src
- src/main
- java/fr/acinq/secp256k1
- kotlin/fr/acinq/secp256k1
- native
- src
- commonMain/kotlin/fr/acinq/secp256k1
- nativeInterop/cinterop
- nativeMain/kotlin/fr/acinq/secp256k1
- tests
- src/commonTest
- kotlin/fr/acinq/secp256k1
- resources/musig2
24 files changed
+2881
-581
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
Lines changed: 100 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments