Skip to content

Commit

Permalink
Merge branch 'sp-release050' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sorpaas committed Jun 18, 2021
2 parents d2ca104 + 3159fdb commit 3f251eb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
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)
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
name = "libsecp256k1"
description = "Pure Rust secp256k1 implementation."
license = "Apache-2.0"
version = "0.4.0"
version = "0.5.0"
authors = ["Wei Tang <hi@that.world>"]
repository = "https://github.com/paritytech/libsecp256k1"
keywords = ["crypto", "ECDSA", "secp256k1", "bitcoin", "no_std"]
edition = "2018"

[dependencies]
libsecp256k1-core = { version = "0.1.0", path = "core", default-features = false }
libsecp256k1-core = { version = "0.2.0", path = "core", default-features = false }
arrayref = "0.3"
rand = { version = "0.7", default-features = false }
digest = "0.9"
Expand All @@ -26,8 +26,8 @@ serde_json = "1.0"
hex-literal = "0.2.1"

[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.0", path = "gen/ecmult" }
libsecp256k1-gen-genmult = { version = "0.2.0", path = "gen/genmult" }

[features]
default = ["std", "hmac", "static-context"]
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1"
authors = ["Wei Tang <hi@that.world>"]
repository = "https://github.com/paritytech/libsecp256k1"
keywords = ["crypto", "ECDSA", "secp256k1", "bitcoin", "no_std"]
Expand Down
3 changes: 2 additions & 1 deletion core/src/ecmult.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ use crate::{
};
use alloc::{
alloc::{alloc, Layout},
vec,
vec, vec::Vec,
boxed::Box,
};
use subtle::Choice;

Expand Down
4 changes: 2 additions & 2 deletions gen/ecmult/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0"
authors = ["Wei Tang <hi@that.world>"]
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.0", path = "../../core" }
4 changes: 2 additions & 2 deletions gen/genmult/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0"
authors = ["Wei Tang <hi@that.world>"]
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.0", path = "../../core" }

0 comments on commit 3f251eb

Please sign in to comment.