Skip to content

Commit f98d08e

Browse files
committed
secp256k1: Prepare v4.4.0.
This updates the secp256k1 module dependencies, copyright year in the files modified since the previous release, and serves as a base for dcrec/secp256k1/v4.4.0. The updated direct dependencies are as follows: - github.com/decred/dcrd/crypto/[email protected] As compared to v4.3.0, this release includes the following notable changes: - Provides a new exported method on JacobianPoint named EquivalentNonConst for efficiently determining if two Jacobian points represent the same affine point without needing to convert the points to affine - Provides new exported methods for obtaining the R and S components of Schnorr signatures - Optimized field inversion that results in about a 9% speedup which translates to about 3% faster public key derivation, 1% faster Schnorr signature verification, and 1.5% faster public key recovery from compact signatures - The DecompressY method now returns normalized values - Faster blake256 hashing for Schnorr signing and verification - Includes additional quality assurance tests for the new methods - Includes benchmarks for the new methods where appropriate - Documentation updates
1 parent cb51153 commit f98d08e

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

dcrec/secp256k1/field_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2013-2016 The btcsuite developers
2-
// Copyright (c) 2015-2022 The Decred developers
3-
// Copyright (c) 2013-2022 Dave Collins
2+
// Copyright (c) 2015-2024 The Decred developers
3+
// Copyright (c) 2013-2024 Dave Collins
44
// Use of this source code is governed by an ISC
55
// license that can be found in the LICENSE file.
66

dcrec/secp256k1/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/decred/dcrd/dcrec/secp256k1/v4
22

33
go 1.17
44

5-
require github.com/decred/dcrd/crypto/blake256 v1.0.1
5+
require github.com/decred/dcrd/crypto/blake256 v1.1.0

dcrec/secp256k1/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y=
2-
github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
1+
github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U0x++OzVrdms8=
2+
github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=

dcrec/secp256k1/modnscalar.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020-2023 The Decred developers
1+
// Copyright (c) 2020-2024 The Decred developers
22
// Use of this source code is governed by an ISC
33
// license that can be found in the LICENSE file.
44

dcrec/secp256k1/modnscalar_bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020-2022 The Decred developers
1+
// Copyright (c) 2020-2024 The Decred developers
22
// Use of this source code is governed by an ISC
33
// license that can be found in the LICENSE file.
44

dcrec/secp256k1/nonce.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2013-2014 The btcsuite developers
2-
// Copyright (c) 2015-2020 The Decred developers
2+
// Copyright (c) 2015-2024 The Decred developers
33
// Use of this source code is governed by an ISC
44
// license that can be found in the LICENSE file.
55

dcrec/secp256k1/nonce_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2013-2016 The btcsuite developers
2-
// Copyright (c) 2015-2020 The Decred developers
2+
// Copyright (c) 2015-2024 The Decred developers
33
// Use of this source code is governed by an ISC
44
// license that can be found in the LICENSE file.
55

dcrec/secp256k1/privkey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2013-2014 The btcsuite developers
2-
// Copyright (c) 2015-2023 The Decred developers
2+
// Copyright (c) 2015-2024 The Decred developers
33
// Use of this source code is governed by an ISC
44
// license that can be found in the LICENSE file.
55

0 commit comments

Comments
 (0)