From a56b3f727900b0e80b0e112ccea53a4e96576d66 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 23 Jun 2026 11:05:52 -0700 Subject: [PATCH] chore(deps): bump `elliptic-curve` from `0.14.0-rc.36` to `0.14` `Double` moved from `elliptic_curve::point` to `elliptic_curve::ops` in ([#2465]) [#2465]: --- Cargo.lock | 7 ++++--- Cargo.toml | 2 -- bignp256/Cargo.toml | 4 ++-- bp256/Cargo.toml | 4 ++-- bp384/Cargo.toml | 4 ++-- ed448-goldilocks/Cargo.toml | 2 +- hash2curve/Cargo.toml | 2 +- k256/Cargo.toml | 2 +- k256/src/arithmetic/projective.rs | 4 ++-- p192/Cargo.toml | 2 +- p224/Cargo.toml | 2 +- p256/Cargo.toml | 2 +- p384/Cargo.toml | 2 +- p521/Cargo.toml | 2 +- primeorder/Cargo.toml | 2 +- primeorder/src/affine.rs | 4 ++-- primeorder/src/lib.rs | 2 +- primeorder/src/projective.rs | 6 +++--- sm2/Cargo.toml | 4 ++-- 19 files changed, 29 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f3d9227fb..0bce7e593 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -483,8 +483,9 @@ checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" [[package]] name = "elliptic-curve" -version = "0.14.0-rc.36" -source = "git+https://github.com/RustCrypto/traits#68dab4109be9432d61cb58bc4438211f7c0a25c3" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3273f1195b6f6253ebda493d6742c8baa9b26a291674cd96d92a0f09e90e9b46" dependencies = [ "base16ct", "crypto-bigint", @@ -1374,7 +1375,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys", diff --git a/Cargo.toml b/Cargo.toml index 4a684072e..3e4204b28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,5 +28,3 @@ hash2curve = { path = "hash2curve" } primefield = { path = "primefield" } primeorder = { path = "primeorder" } wnaf = { path = "wnaf" } - -elliptic-curve = { git = "https://github.com/RustCrypto/traits" } diff --git a/bignp256/Cargo.toml b/bignp256/Cargo.toml index 4f89692a4..bf3a1d93f 100644 --- a/bignp256/Cargo.toml +++ b/bignp256/Cargo.toml @@ -18,7 +18,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", features = ["sec1"] } +elliptic-curve = { version = "0.14", features = ["sec1"] } # optional dependencies belt-block = { version = "0.2", optional = true } @@ -40,7 +40,7 @@ signature = { version = "3", optional = true } [dev-dependencies] criterion = "0.7" -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["dev"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["dev"] } hex-literal = "1" primeorder = { version = "0.14.0-rc.13", features = ["dev"] } proptest = "1" diff --git a/bp256/Cargo.toml b/bp256/Cargo.toml index 394def61a..2d144b6b5 100644 --- a/bp256/Cargo.toml +++ b/bp256/Cargo.toml @@ -14,7 +14,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa = { version = "0.17.0-rc.21", optional = true, default-features = false, features = ["der"] } @@ -24,7 +24,7 @@ sha2 = { version = "0.11", optional = true, default-features = false } [dev-dependencies] criterion = "0.7" -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["dev"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["dev"] } [features] default = ["pkcs8", "std"] diff --git a/bp384/Cargo.toml b/bp384/Cargo.toml index e52a9cd73..863496d01 100644 --- a/bp384/Cargo.toml +++ b/bp384/Cargo.toml @@ -14,7 +14,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa = { version = "0.17.0-rc.21", optional = true, default-features = false, features = ["der"] } @@ -24,7 +24,7 @@ sha2 = { version = "0.11", optional = true, default-features = false } [dev-dependencies] criterion = "0.7" -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["dev"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["dev"] } [features] default = ["pkcs8", "std"] diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index 7d013062b..37332c0b3 100644 --- a/ed448-goldilocks/Cargo.toml +++ b/ed448-goldilocks/Cargo.toml @@ -16,7 +16,7 @@ This crate also includes signing and verifying of Ed448 signatures. """ [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", features = ["arithmetic", "pkcs8"] } +elliptic-curve = { version = "0.14", features = ["arithmetic", "pkcs8"] } hash2curve = "0.14.0-rc.13" rand_core = { version = "0.10", default-features = false } shake = { version = "0.1", default-features = false } diff --git a/hash2curve/Cargo.toml b/hash2curve/Cargo.toml index 79cfb2ef9..340fe3abe 100644 --- a/hash2curve/Cargo.toml +++ b/hash2curve/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.85" [dependencies] digest = { version = "0.11" } -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["arithmetic"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["arithmetic"] } [dev-dependencies] hex-literal = "1" diff --git a/k256/Cargo.toml b/k256/Cargo.toml index 538477cfe..98fbb67e6 100644 --- a/k256/Cargo.toml +++ b/k256/Cargo.toml @@ -20,7 +20,7 @@ rust-version = "1.85" [dependencies] cpubits = "0.1" -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } hash2curve = { version = "0.14.0-rc.13", optional = true } # optional dependencies diff --git a/k256/src/arithmetic/projective.rs b/k256/src/arithmetic/projective.rs index ee3a2bb85..3d9b89aa2 100644 --- a/k256/src/arithmetic/projective.rs +++ b/k256/src/arithmetic/projective.rs @@ -15,8 +15,8 @@ use elliptic_curve::{ cofactor::CofactorGroup, prime::{PrimeCurve, PrimeGroup}, }, - ops::BatchInvert, - point::{Double, NonIdentity}, + ops::{BatchInvert, Double}, + point::NonIdentity, rand_core::{TryCryptoRng, TryRng}, sec1::{FromSec1Point, ToSec1Point}, subtle::{Choice, ConditionallySelectable, ConstantTimeEq, CtOption}, diff --git a/p192/Cargo.toml b/p192/Cargo.toml index 42143fe73..ccd66755b 100644 --- a/p192/Cargo.toml +++ b/p192/Cargo.toml @@ -17,7 +17,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa-core = { version = "0.17.0-rc.21", package = "ecdsa", optional = true, default-features = false, features = ["der"] } diff --git a/p224/Cargo.toml b/p224/Cargo.toml index 7219f2c81..c56909411 100644 --- a/p224/Cargo.toml +++ b/p224/Cargo.toml @@ -17,7 +17,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa-core = { version = "0.17.0-rc.21", package = "ecdsa", optional = true, default-features = false, features = ["der"] } diff --git a/p256/Cargo.toml b/p256/Cargo.toml index 7ff1245c1..1846f5d67 100644 --- a/p256/Cargo.toml +++ b/p256/Cargo.toml @@ -18,7 +18,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa-core = { version = "0.17.0-rc.21", package = "ecdsa", optional = true, default-features = false, features = ["der"] } diff --git a/p384/Cargo.toml b/p384/Cargo.toml index 827e71ba4..45ceaf4b9 100644 --- a/p384/Cargo.toml +++ b/p384/Cargo.toml @@ -18,7 +18,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa-core = { version = "0.17.0-rc.21", package = "ecdsa", optional = true, default-features = false, features = ["der"] } diff --git a/p521/Cargo.toml b/p521/Cargo.toml index f0613e967..a361f1979 100644 --- a/p521/Cargo.toml +++ b/p521/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.85" [dependencies] base16ct = "1" -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } # optional dependencies ecdsa-core = { version = "0.17.0-rc.21", package = "ecdsa", optional = true, default-features = false, features = ["der"] } diff --git a/primeorder/Cargo.toml b/primeorder/Cargo.toml index 04fc0ae6a..d9c5a3496 100644 --- a/primeorder/Cargo.toml +++ b/primeorder/Cargo.toml @@ -18,7 +18,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["arithmetic", "sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["arithmetic", "sec1"] } primefield = "0.14.0-rc.13" # optional dependencies diff --git a/primeorder/src/affine.rs b/primeorder/src/affine.rs index 0d141fbcf..79bfeea8b 100644 --- a/primeorder/src/affine.rs +++ b/primeorder/src/affine.rs @@ -10,8 +10,8 @@ use elliptic_curve::{ ctutils::{self, CtGt as _, CtSelect as _}, ff::{Field, PrimeField}, group::{CurveAffine, GroupEncoding}, - ops::{Mul, MulVartime, Neg}, - point::{AffineCoordinates, DecompactPoint, DecompressPoint, Double, NonIdentity}, + ops::{Double, Mul, MulVartime, Neg}, + point::{AffineCoordinates, DecompactPoint, DecompressPoint, NonIdentity}, rand_core::{TryCryptoRng, TryRng}, sec1::{self, CompressedPoint, FromSec1Point, Sec1Point, ToCompactSec1Point, ToSec1Point}, subtle::{Choice, ConditionallySelectable, ConstantTimeEq, CtOption}, diff --git a/primeorder/src/lib.rs b/primeorder/src/lib.rs index 2c9182aed..a75aac722 100644 --- a/primeorder/src/lib.rs +++ b/primeorder/src/lib.rs @@ -36,7 +36,7 @@ pub use elliptic_curve::{ array::{self, ArraySize, sizes::U1}, bigint::{ByteOrder, modular::Retrieve}, hazmat::FieldArithmetic, - point::Double, + ops::Double, }; pub use primefield::{FieldExt, PrimeFieldExt}; diff --git a/primeorder/src/projective.rs b/primeorder/src/projective.rs index b66b19031..5d5f03590 100644 --- a/primeorder/src/projective.rs +++ b/primeorder/src/projective.rs @@ -17,10 +17,10 @@ use elliptic_curve::{ prime::{PrimeCurve, PrimeGroup}, }, ops::{ - Add, AddAssign, BatchInvert, LinearCombination, Mul, MulAssign, MulByGeneratorVartime, - MulVartime, Neg, Sub, SubAssign, + Add, AddAssign, BatchInvert, Double, LinearCombination, Mul, MulAssign, + MulByGeneratorVartime, MulVartime, Neg, Sub, SubAssign, }, - point::{Double, NonIdentity}, + point::NonIdentity, rand_core::{TryCryptoRng, TryRng}, sec1::{CompressedPoint, FromSec1Point, Sec1Point, ToSec1Point}, subtle::{Choice, ConditionallySelectable, ConstantTimeEq, CtOption}, diff --git a/sm2/Cargo.toml b/sm2/Cargo.toml index e1485ebee..1561511d4 100644 --- a/sm2/Cargo.toml +++ b/sm2/Cargo.toml @@ -18,7 +18,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["sec1"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["sec1"] } fiat-crypto = { version = "0.3", default-features = false } rand_core = { version = "0.10", default-features = false } @@ -33,7 +33,7 @@ sm3 = { version = "0.5", optional = true, default-features = false } [dev-dependencies] criterion = "0.7" -elliptic-curve = { version = "0.14.0-rc.36", default-features = false, features = ["dev"] } +elliptic-curve = { version = "0.14", default-features = false, features = ["dev"] } hex-literal = "1" proptest = "1"