-
Notifications
You must be signed in to change notification settings - Fork 1.1k
build: stop treating schnorrsig, extrakeys modules as experimental #995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,7 @@ Features: | |
* Suitable for embedded systems. | ||
* Optional module for public key recovery. | ||
* Optional module for ECDH key exchange. | ||
* Optional module for Schnorr signatures according to [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki) (experimental). | ||
|
||
Experimental features have not received enough scrutiny to satisfy the standard of quality of this library but are made available for testing and review by the community. The APIs of these features should not be considered stable. | ||
* Optional module for Schnorr signatures according to [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki). | ||
|
||
Implementation details | ||
---------------------- | ||
|
@@ -35,6 +33,7 @@ Implementation details | |
* Optimized implementation of arithmetic modulo the curve's field size (2^256 - 0x1000003D1). | ||
* Using 5 52-bit limbs (including hand-optimized assembly for x86_64, by Diederik Huys). | ||
* Using 10 26-bit limbs (including hand-optimized assembly for 32-bit ARM, by Wladimir J. van der Laan). | ||
* This is an experimental feature that has not received enough scrutiny to satisfy the standard of quality of this library but is made available for testing and review by the community. | ||
* Scalar operations | ||
* Optimized implementation without data-dependent branches of arithmetic modulo the curve's order. | ||
* Using 4 64-bit limbs (relying on __int128 support in the compiler). | ||
|
@@ -72,7 +71,6 @@ libsecp256k1 is built using autotools: | |
Usage examples | ||
----------- | ||
Usage examples can be found in the [examples](examples) directory. To compile them you need to configure with `--enable-examples`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Following these updated instructions only produces The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indeed. I think this can be done in a separate PR because seems to be a more general issue. At the moment, we don't explain at all how to enable the modules. Maybe this should go to "build steps". |
||
For experimental modules, you will also need `--enable-experimental` as well as a flag for each individual module, e.g. `--enable-module-ecdh`. | ||
* [ECDSA example](examples/ecdsa.c) | ||
* [Schnorr Signatures example](examples/schnorr.c) | ||
* [Deriving a shared secret(ECDH) example](examples/ecdh.c) | ||
|
Uh oh!
There was an error while loading. Please reload this page.