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
Merge #60: bump version to 0.7 and update CHANGELOG
32ed375 Update secp256k1-zkp-sys in Cargo.toml (Riccardo Casatta)
ba2fecb Updates upstream to d22774e248c703a191049b78f8d04f37d6fcfa05 (Riccardo Casatta)
09102ff update patch so that is applicable (Riccardo Casatta)
10c024d update Readme with correct MSRV (Riccardo Casatta)
6c91269 bump version to 0.7 and update CHANGELOG (Riccardo Casatta)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 32ed375
Tree-SHA512: d0411daeda445eb151e3472ed66311190bcf80c25b5bde3f78b6829338b90468b40386d59b9cd56c93a001957a1a1fbd709e7f72947aee9c7ee37454460add9c
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,4 +20,4 @@ Contributions to this library are welcome. A few guidelines:
20
20
- Any breaking changes must have an accompanied entry in CHANGELOG.md
21
21
- No new dependencies, please.
22
22
- No crypto should be implemented in Rust, with the possible exception of hash functions. Cryptographic contributions should be directed upstream to libsecp256k1.
23
-
- This library should always compile with any combination of features on **Rust 1.29**.
23
+
- This library should always compile with any combination of features on **Rust 1.41.1**.
Copy file name to clipboardExpand all lines: secp256k1-zkp-sys/depend/secp256k1/README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Features:
17
17
* Suitable for embedded systems.
18
18
* Optional module for public key recovery.
19
19
* Optional module for ECDH key exchange.
20
-
* Optional module for Schnorr signatures according to [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki) (experimental).
20
+
* Optional module for Schnorr signatures according to [BIP-340](https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki).
21
21
* Optional module for ECDSA adaptor signatures (experimental).
22
22
23
23
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.
@@ -36,6 +36,7 @@ Implementation details
36
36
* Optimized implementation of arithmetic modulo the curve's field size (2^256 - 0x1000003D1).
37
37
* Using 5 52-bit limbs (including hand-optimized assembly for x86_64, by Diederik Huys).
38
38
* Using 10 26-bit limbs (including hand-optimized assembly for 32-bit ARM, by Wladimir J. van der Laan).
39
+
* 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.
39
40
* Scalar operations
40
41
* Optimized implementation without data-dependent branches of arithmetic modulo the curve's order.
41
42
* Using 4 64-bit limbs (relying on __int128 support in the compiler).
@@ -70,6 +71,16 @@ libsecp256k1 is built using autotools:
70
71
$ make check # run the test suite
71
72
$ sudo make install # optional
72
73
74
+
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.
75
+
76
+
Usage examples
77
+
-----------
78
+
Usage examples can be found in the [examples](examples) directory. To compile them you need to configure with `--enable-examples`.
79
+
*[ECDSA example](examples/ecdsa.c)
80
+
*[Schnorr signatures example](examples/schnorr.c)
81
+
*[Deriving a shared secret (ECDH) example](examples/ecdh.c)
82
+
To compile the Schnorr signature and ECDH examples, you also need to configure with `--enable-module-schnorrsig` and `--enable-module-ecdh`.
0 commit comments