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
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
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