Skip to content

Commit f45d897

Browse files
committed
Merge #703: Overhaul README.md
2e759ec Overhaul README.md (Tim Ruffing) Pull request description: * Update feature list * Be more positive about the state and quality of the library * Mention ECDSA key operations explicitly in short library description * Say "secret key" instead of "private key" cc @gmaxwell who suggested a similar wording for the disclaimer. ACKs for top commit: sipa: ACK 2e759ec jonasnick: ACK 2e759ec Tree-SHA512: 2e1c87e7fa28d9dab682af227f845e7d48ac79a9fbe10be47ae4567abc2e066ba2f852c000db7d697ece8e4bbeeb851ea647465f870ac29dc3654031bf15a1ad
2 parents d644dda + 2e759ec commit f45d897

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ libsecp256k1
33

44
[![Build Status](https://travis-ci.org/bitcoin-core/secp256k1.svg?branch=master)](https://travis-ci.org/bitcoin-core/secp256k1)
55

6-
Optimized C library for EC operations on curve secp256k1.
6+
Optimized C library for ECDSA signatures and secret/public key operations on curve secp256k1.
77

8-
This library is a work in progress and is being used to research best practices. Use at your own risk.
8+
This library is intended to be the highest quality publicly available library for cryptography on the secp256k1 curve. However, the primary focus of its development has been for usage in the Bitcoin system and usage unlike Bitcoin's may be less well tested, verified, or suffer from a less well thought out interface. Correct usage requires some care and consideration that the library is fit for your application's purpose.
99

1010
Features:
1111
* secp256k1 ECDSA signing/verification and key generation.
12-
* Adding/multiplying private/public keys.
13-
* Serialization/parsing of private keys, public keys, signatures.
14-
* Constant time, constant memory access signing and pubkey generation.
15-
* Derandomized DSA (via RFC6979 or with a caller provided function.)
12+
* Additive and multiplicative tweaking of secret/public keys.
13+
* Serialization/parsing of secret keys, public keys, signatures.
14+
* Constant time, constant memory access signing and public key generation.
15+
* Derandomized ECDSA (via RFC6979 or with a caller provided function.)
1616
* Very efficient implementation.
17+
* Suitable for embedded systems.
18+
* Optional module for public key recovery.
19+
* Optional module for ECDH key exchange (experimental).
20+
21+
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.
1722

1823
Implementation details
1924
----------------------
@@ -28,7 +33,7 @@ Implementation details
2833
* Field operations
2934
* Optimized implementation of arithmetic modulo the curve's field size (2^256 - 0x1000003D1).
3035
* Using 5 52-bit limbs (including hand-optimized assembly for x86_64, by Diederik Huys).
31-
* Using 10 26-bit limbs.
36+
* Using 10 26-bit limbs (including hand-optimized assembly for 32-bit ARM, by Wladimir J. van der Laan).
3237
* Field inverses and square roots using a sliding window over blocks of 1s (by Peter Dettman).
3338
* Scalar operations
3439
* Optimized implementation without data-dependent branches of arithmetic modulo the curve's order.
@@ -50,7 +55,7 @@ Implementation details
5055
* Access the table with branch-free conditional moves so memory access is uniform.
5156
* No data-dependent branches
5257
* Optional runtime blinding which attempts to frustrate differential power analysis.
53-
* The precomputed tables add and eventually subtract points for which no known scalar (private key) is known, preventing even an attacker with control over the private key used to control the data internally.
58+
* The precomputed tables add and eventually subtract points for which no known scalar (secret key) is known, preventing even an attacker with control over the secret key used to control the data internally.
5459

5560
Build steps
5661
-----------

0 commit comments

Comments
 (0)