You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
55512d3 doc: clean up module help text in configure.ac (Elliott Jin)
d9d94a9 doc: mention optional modules in README (Elliott Jin)
Pull request description:
ACKs for top commit:
real-or-random:
utACK 55512d3
jonasnick:
ACK 55512d3
Tree-SHA512: ae4ec355730983117c5e9a8a8abd17aaf42afe6f8f8f7474a551df6269a62094883e0827d2f3642e3ed6eb26cf71982c20f7ac27498cb4bd7e4aea57ec308d6a
Copy file name to clipboardexpand all lines: README.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,15 @@ libsecp256k1 is built using autotools:
68
68
$ make check # run the test suite
69
69
$ sudo make install # optional
70
70
71
+
To compile optional modules (such as Schnorr signatures), you need to run `./configure` with additional flags (such as `--enable-module-schnorrsig`). Run `./configure --help` to see the full list of available flags.
72
+
71
73
Usage examples
72
74
-----------
73
75
Usage examples can be found in the [examples](examples) directory. To compile them you need to configure with `--enable-examples`.
74
76
*[ECDSA example](examples/ecdsa.c)
75
-
*[Schnorr Signatures example](examples/schnorr.c)
76
-
*[Deriving a shared secret(ECDH) example](examples/ecdh.c)
77
+
*[Schnorr signatures example](examples/schnorr.c)
78
+
*[Deriving a shared secret (ECDH) example](examples/ecdh.c)
79
+
To compile the Schnorr signature and ECDH examples, you also need to configure with `--enable-module-schnorrsig` and `--enable-module-ecdh`.
0 commit comments