-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from paritytech/develop
Cumulative develop branch update
- Loading branch information
Showing
12 changed files
with
122 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# Changelog | ||
|
||
The format is based on [Keep a Changelog]. | ||
The format is based on [Keep a Changelog]. | ||
|
||
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ | ||
|
||
## [Unreleased] | ||
## [0.5.0] - 2021-05-18 | ||
- Add standard non-overflowing signature parsing `Signature::parse_standard`. The previous behavior `Signature::parse` is considered non-standard and renamed to `Signature::parse_overflowing`. Unless you have a specific need, you should switch to use the new `Signature::parse_standard` function. (PR #67) | ||
|
||
## [0.3.5] - 2020-02-06 | ||
- Implement std::error::Error and Display for Error (PR #29) | ||
- Implement `std::error::Error` and `Display` for `Error`. (PR #29) | ||
- Fix the PartialEq impl of Field. (PR #30) | ||
- Add LowerHex impl for SecretKey and Scalar (PR #32) | ||
- Put signing behind feature flag (PR #33) | ||
- Add `LowerHex` implementation for `SecretKey` and `Scalar`. (PR #32) | ||
- Put signing behind feature flag. (PR #33) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,15 @@ | |
name = "libsecp256k1" | ||
description = "Pure Rust secp256k1 implementation." | ||
license = "Apache-2.0" | ||
version = "0.4.0" | ||
version = "0.6.0" | ||
authors = ["Wei Tang <[email protected]>"] | ||
repository = "https://github.com/paritytech/libsecp256k1" | ||
keywords = ["crypto", "ECDSA", "secp256k1", "bitcoin", "no_std"] | ||
edition = "2018" | ||
resolver = "2" | ||
|
||
[dependencies] | ||
libsecp256k1-core = { version = "0.1.0", path = "core", default-features = false } | ||
libsecp256k1-core = { version = "0.2.2", path = "core", default-features = false } | ||
arrayref = "0.3" | ||
rand = { version = "0.8", default-features = false } | ||
digest = "0.9" | ||
|
@@ -18,6 +19,7 @@ hmac-drbg = { version = "0.3", optional = true } | |
sha2 = { version = "0.9", optional = true, default-features = false } | ||
typenum = { version = "1.12", optional = true } | ||
serde = { version = "1.0.104", features = ["derive"], default-features = false } | ||
lazy_static = { version = "1.4.0", optional = true } | ||
|
||
[dev-dependencies] | ||
secp256k1-test = { package = "secp256k1", version = "0.20.3", features = ["rand-std", "recovery"] } | ||
|
@@ -26,14 +28,15 @@ serde_json = "1.0" | |
hex-literal = "0.3.3" | ||
|
||
[build-dependencies] | ||
libsecp256k1-gen-ecmult = { version = "0.1.0", path = "gen/ecmult" } | ||
libsecp256k1-gen-genmult = { version = "0.1.0", path = "gen/genmult" } | ||
libsecp256k1-gen-ecmult = { version = "0.2.1", path = "gen/ecmult" } | ||
libsecp256k1-gen-genmult = { version = "0.2.1", path = "gen/genmult" } | ||
|
||
[features] | ||
default = ["std", "hmac", "static-context"] | ||
std = ["libsecp256k1-core/std", "sha2/std", "rand/std", "serde/std", "base64/std"] | ||
hmac = ["hmac-drbg", "sha2", "typenum"] | ||
static-context = [] | ||
lazy-static-context = ["lazy_static", "std"] | ||
|
||
[workspace] | ||
members = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "libsecp256k1-core" | ||
description = "Core functions for pure Rust secp256k1 implementation." | ||
license = "Apache-2.0" | ||
version = "0.1.0" | ||
version = "0.2.2" | ||
authors = ["Wei Tang <[email protected]>"] | ||
repository = "https://github.com/paritytech/libsecp256k1" | ||
keywords = ["crypto", "ECDSA", "secp256k1", "bitcoin", "no_std"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
name = "libsecp256k1-gen-ecmult" | ||
description = "Generator function of const_gen for libsecp256k1." | ||
license = "Apache-2.0" | ||
version = "0.1.0" | ||
version = "0.2.1" | ||
authors = ["Wei Tang <[email protected]>"] | ||
edition = "2018" | ||
repository = "https://github.com/paritytech/libsecp256k1" | ||
keywords = ["crypto", "ECDSA", "secp256k1", "bitcoin", "no_std"] | ||
|
||
[dependencies] | ||
libsecp256k1-core = { version = "0.1.0", path = "../../core" } | ||
libsecp256k1-core = { version = "0.2.2", path = "../../core" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
name = "libsecp256k1-gen-genmult" | ||
description = "Generator function of const for libsecp256k1." | ||
license = "Apache-2.0" | ||
version = "0.1.0" | ||
version = "0.2.1" | ||
authors = ["Wei Tang <[email protected]>"] | ||
edition = "2018" | ||
repository = "https://github.com/paritytech/libsecp256k1" | ||
keywords = ["crypto", "ECDSA", "secp256k1", "bitcoin", "no_std"] | ||
|
||
[dependencies] | ||
libsecp256k1-core = { version = "0.1.0", path = "../../core" } | ||
libsecp256k1-core = { version = "0.2.2", path = "../../core" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
merge_imports = true | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters