commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
8892698bc92478fbcdccc213f8fc8c17f9b782bd
Tony Arcieri
2025-09-11T03:10:59
primefield: reformat `MontyFieldElement` for readability (#1410) Moves the bounds under a `where` clause so they're out-of-the-way
diff --git a/primefield/src/monty.rs b/primefield/src/monty.rs index 74e2edd0..939a1abf 100644 --- a/primefield/src/monty.rs +++ b/primefield/src/monty.rs @@ -112,16 +112,26 @@ pub trait MontyFieldParams<const LIMBS: usize>: ConstMontyParams<LIMBS> { /// Field element type which uses an internal Montgomery form repr...
1
145
71
1f5195b924ccd113094f41cb3bb4d19cb97496cc
Tony Arcieri
2025-09-10T23:33:21
Use `primefield::monty_field_params!` where applicable (#1409) This defines the Montgomery field parameters `FieldParams` and `ScalarParams` for all curves which use Montgomery field representations, except for `k256` which doesn't use `primefield` (yet). These aren't actually used yet, but getting them defined is th...
diff --git a/bign256/src/arithmetic/field.rs b/bign256/src/arithmetic/field.rs index 1c4247f2..702f193d 100644 --- a/bign256/src/arithmetic/field.rs +++ b/bign256/src/arithmetic/field.rs @@ -38,10 +38,18 @@ use elliptic_curve::{ subtle::{Choice, ConstantTimeEq, CtOption}, }; -/// Constant representing the modul...
16
167
15
1bc0ba3e4e5196c5aa24b12446523521111dc240
Tony Arcieri
2025-09-10T15:01:49
primefield: compute encoded field element sizes (#1408) Uses a combination of macro-written const-friendly arithmetic and the `typenum::U` feature for mapping const generics to typenum `U*` types to automatically select the appropriate `typenum` type for representing the number of bytes in a serialized field element b...
diff --git a/primefield/src/monty.rs b/primefield/src/monty.rs index 9f856524..74e2edd0 100644 --- a/primefield/src/monty.rs +++ b/primefield/src/monty.rs @@ -38,7 +38,6 @@ use subtle::{ /// fe_name: "FieldElement", /// modulus: "ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", /// uint...
1
4
7
12eef9c298f2225cdba45f2ce4b4631e95d67ff4
daxpedda
2025-09-05T14:39:30
Implement `AffineCoordinates::from_coordinates` (#1405) Implementation of RustCrypto/traits#1996 Addresses RustCrypto/traits#1994
diff --git a/Cargo.lock b/Cargo.lock index 6eab3816..cbf78a40 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -419,8 +419,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.13" -source = "registry+https://github.com/rust-lang/crates...
8
62
31
037249de03f4d794d813633c7a2bb2578d27bb30
daxpedda
2025-09-04T18:36:12
ed448-goldilocks: remove unnecessary `constants` module (#1406)
diff --git a/ed448-goldilocks/src/constants.rs b/ed448-goldilocks/src/constants.rs deleted file mode 100644 index bd6cc7eb..00000000 --- a/ed448-goldilocks/src/constants.rs +++ /dev/null @@ -1,8 +0,0 @@ -use crate::*; - -pub const DECAF_BASEPOINT: DecafPoint = DecafPoint(curve::twedwards::extended::ExtendedPoint { - ...
3
1
12
726a7df8eec867b3bff8d36728ffee35a15710d5
Tony Arcieri
2025-09-03T23:03:41
Bump `sha3` dependency to v0.11.0-rc.3 (#1403)
diff --git a/Cargo.lock b/Cargo.lock index 016b0e2b..2f855dcf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -630,9 +630,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.2.0-pre.0" +version = "0.2.0-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cdd4f0dc5807b9a2b2...
4
7
7
79424b9d3590eccf37ca07caed0d8d525cd849e7
Tony Arcieri
2025-09-03T23:02:34
ed448-goldilocks: bump `ed448` crate dependency to v0.5.0-rc.0 (#1402)
diff --git a/Cargo.lock b/Cargo.lock index 0b37c059..016b0e2b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -379,9 +379,9 @@ dependencies = [ [[package]] name = "ed448" -version = "0.5.0-pre.0" +version = "0.5.0-rc.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24f3621b15eb4095d0e7c...
2
3
3
a8c113e974392635fc04dcb39c0951d7783b8858
Tony Arcieri
2025-09-03T22:40:01
k256+primeorder: organize `group` trait impls (#1401) - Creates a logical comment-delimited section of the source for `group` trait impls - Alphabetizes trait impls by name - Adds some explanatory comments
diff --git a/k256/src/arithmetic/projective.rs b/k256/src/arithmetic/projective.rs index 10b66b59..b3502b25 100644 --- a/k256/src/arithmetic/projective.rs +++ b/k256/src/arithmetic/projective.rs @@ -15,12 +15,13 @@ use elliptic_curve::{ cofactor::CofactorGroup, prime::{PrimeCurve, PrimeCurveAffine, Pr...
2
115
96
a94edb1cfa907a9a9fa9c91b6cd17af999e6d955
daxpedda
2025-09-03T22:14:47
Implement `CofactorGroup` for all relevant curves (#1394) - `DecafPoint` is always in the subgroup - Impelement `CofactorGroup` for `primeorder` curves - Use `CofactorGroup` for `MapToCurve`
diff --git a/ed448-goldilocks/src/decaf/points.rs b/ed448-goldilocks/src/decaf/points.rs index 47ef0942..72b2b83b 100644 --- a/ed448-goldilocks/src/decaf/points.rs +++ b/ed448-goldilocks/src/decaf/points.rs @@ -226,11 +226,11 @@ impl CofactorGroup for DecafPoint { type Subgroup = DecafPoint; fn clear_cofact...
10
62
47
d98ed3596f49bc87328727b02db17c4dab1ab058
Tony Arcieri
2025-09-03T17:47:54
Cut prereleases with `hybrid-array` v0.4 support (#1398) Releases the following: - `bp256` v0.14.0-pre.0 - `bp384` v0.14.0-pre.0 - `ed448-goldilocks` v0.14.0-pre.3 - `hash2curve` v0.14.0-rc.1 - `k256` v0.14.0-pre.10 - `p256` v0.14.0-pre.10 - `p384` v0.14.0-pre.10 - `p521` v0.14.0-pre.10 - `x448` v0.14.0-pre.0
diff --git a/Cargo.lock b/Cargo.lock index 55aa1d7b..0b37c059 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,7 +141,7 @@ dependencies = [ [[package]] name = "bp256" -version = "0.7.0-pre" +version = "0.14.0-pre.0" dependencies = [ "ecdsa", "elliptic-curve", @@ -152,7 +152,7 @@ dependencies = [ [[package]]...
10
26
26
85fc4fe45c42d493ca435160645c777713ebb4b2
daxpedda
2025-09-03T17:18:40
hash2curve: remove `MapToCurve::CurvePoint` (#1393)
diff --git a/ed448-goldilocks/src/field/element.rs b/ed448-goldilocks/src/field/element.rs index dcb6dfa5..d94d7a5a 100644 --- a/ed448-goldilocks/src/field/element.rs +++ b/ed448-goldilocks/src/field/element.rs @@ -192,26 +192,20 @@ impl Neg for FieldElement { } impl MapToCurve for Ed448 { - type CurvePoint = Ed...
6
15
30
538020de57ce402888ab1a107495b65dedd72b31
Tony Arcieri
2025-09-03T16:13:12
Release `primefield` and `primeorder` (#1397) Releases the following with `hybrid-array` v0.4 support: - `primefield` v0.14.0-pre.5 - `primeorder` v0.14.0-pre.8
diff --git a/Cargo.lock b/Cargo.lock index 30f61fd2..55aa1d7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "primefield" -version = "0.14.0-pre.4" +version = "0.14.0-pre.5" dependencies = [ "crypto-bigint", "ff", @@ -879,7 +879,7 @@ dependencies = [ [[packa...
12
29
29
3dd60269366063e934f9e384fd352be1241e5405
Tony Arcieri
2025-09-03T14:25:35
Bump hash dependencies (#1396) - Bumps `sha2` and `sha3` to v0.11.0-rc.2 - Bumps `digest` to v0.11.0-rc.1
diff --git a/Cargo.lock b/Cargo.lock index 5dc412ad..30f61fd2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -731,7 +731,6 @@ dependencies = [ "hex-literal", "primefield", "primeorder", - "sec1", "serdect", ] @@ -1172,9 +1171,9 @@ dependencies = [ [[package]] name = "sha3" -version = "0.11.0-rc.0" +version ...
13
17
19
71c343f670b12b0c39abcad670eda1ec7bbab475
daxpedda
2025-09-03T14:25:21
Reduce unnecessary conversions to `ExtensiblePoint` and back (#1329)
diff --git a/ed448-goldilocks/src/curve/scalar_mul/double_and_add.rs b/ed448-goldilocks/src/curve/scalar_mul/double_and_add.rs index aac59061..917ba16d 100644 --- a/ed448-goldilocks/src/curve/scalar_mul/double_and_add.rs +++ b/ed448-goldilocks/src/curve/scalar_mul/double_and_add.rs @@ -1,9 +1,10 @@ use crate::curve::t...
11
210
197
b595134c15a12ffa9f83b4262ac69dff960aded4
Luke Parker
2025-09-03T13:43:25
Add FromUniformBytes<64> to {k,p}256::Scalar (#1379)
diff --git a/k256/src/arithmetic/scalar.rs b/k256/src/arithmetic/scalar.rs index 51a5b0bc..8e84991c 100644 --- a/k256/src/arithmetic/scalar.rs +++ b/k256/src/arithmetic/scalar.rs @@ -17,7 +17,7 @@ use core::{ use elliptic_curve::{ Curve, Error, ScalarPrimitive, bigint::{Limb, U256, U512, Word, prelude::*}, -...
2
17
2
6ff0824d6184c76f195b991d0b03795d1a12e3a4
Tony Arcieri
2025-09-03T04:44:46
Bump `elliptic-curve` and `ecdsa` (#1392) Bumps the following dependencies: - `crypto-bigint` v0.7.0-rc.4 - `ecdsa` v0.17.0-rc.6 - `elliptic-curve` v0.14.0-rc.13
diff --git a/Cargo.lock b/Cargo.lock index 072fff9f..5dc412ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,9 +318,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" -version = "0.7.0-rc.3" +version = "0.7.0-rc.4" source = "registry+https://gith...
16
52
53
9d3ce8d23edfd276531386fb08eeeb5f84b0c872
daxpedda
2025-09-03T02:26:12
hash2curve: replace `FromOkm` with `Reduce` (#1391)
diff --git a/ed448-goldilocks/src/decaf/scalar.rs b/ed448-goldilocks/src/decaf/scalar.rs index 71f08631..bd89a0f8 100644 --- a/ed448-goldilocks/src/decaf/scalar.rs +++ b/ed448-goldilocks/src/decaf/scalar.rs @@ -4,8 +4,8 @@ use crate::field::{CurveWithScalar, ORDER, Scalar, ScalarBytes, WideScalarBytes} use elliptic_cu...
11
126
138
4cd8bde360c6b1c75cba4ec11c3be1772ad96b16
Tony Arcieri
2025-09-02T21:15:37
Cargo.lock: bump dependencies (#1390)
diff --git a/Cargo.lock b/Cargo.lock index 05a86b0d..072fff9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,12 +40,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" -[[package]] -name = "base16ct" -...
2
103
188
0e83966d045c725e21d33852a43162356399f43a
daxpedda
2025-09-02T21:03:51
ed448-goldilocks: account for oddness in Scalar divisions (#1369) - Re-use `Scalar::halve()` to compute `div_by_four()` - Rename `Scalar::halve()` to `Scalar::div_by_2()`
diff --git a/ed448-goldilocks/src/decaf/scalar.rs b/ed448-goldilocks/src/decaf/scalar.rs index 5a76c230..71f08631 100644 --- a/ed448-goldilocks/src/decaf/scalar.rs +++ b/ed448-goldilocks/src/decaf/scalar.rs @@ -153,9 +153,9 @@ mod test { let eight = DecafScalar::from(8u8); let four = DecafScalar::from...
4
15
46
95bf28e40d4af984b65f7610ce5d619217f1835e
daxpedda
2025-09-02T20:41:40
ed448-goldilocks: `ProjectiveNielsPoint::IDENTITY` associated constant (#1330) Replaces `ProjectiveNielsPoint::identity()`
diff --git a/ed448-goldilocks/src/curve/scalar_mul/window/wnaf.rs b/ed448-goldilocks/src/curve/scalar_mul/window/wnaf.rs index 1c804fde..07c98b86 100644 --- a/ed448-goldilocks/src/curve/scalar_mul/window/wnaf.rs +++ b/ed448-goldilocks/src/curve/scalar_mul/window/wnaf.rs @@ -22,7 +22,7 @@ impl From<&ExtendedPoint> for L...
2
27
7
f7878ccdfb6e9df3878bb61b2ddaf1c441816aea
daxpedda
2025-09-02T20:23:25
ed448-goldilocks: clean up benchmarks (#1386)
diff --git a/ed448-goldilocks/benches/bench.rs b/ed448-goldilocks/benches/bench.rs index f85a0e0f..e938d53c 100644 --- a/ed448-goldilocks/benches/bench.rs +++ b/ed448-goldilocks/benches/bench.rs @@ -1,7 +1,6 @@ use criterion::{BatchSize, Criterion, criterion_group, criterion_main}; use ed448_goldilocks::{ - Compre...
1
12
42
aa7d6962afa424f360327072a9ea40fd7183670c
daxpedda
2025-09-02T20:22:25
ed448-goldilocks: improve Edwards448 decompression checks (#1335) Implements algorithm from https://eprint.iacr.org/2022/1164.pdf
diff --git a/Cargo.lock b/Cargo.lock index b67ec18c..05a86b0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -400,6 +400,7 @@ dependencies = [ "hash2curve", "hex", "hex-literal", + "proptest", "rand_chacha", "rand_core", "serde_bare", diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index...
4
76
4
18b9fbc9d7aeeb9423d05ddb1452cd3b4f461465
daxpedda
2025-09-02T18:07:53
hash2curve `Expander` improvements (#1318) - Limit `ExpandMsg` output by `len_in_bytes` - Return `Result` from `Expander::fill_bytes()` - Optimize `ExpanderXmd` to copy whole slices - Add tests Addresses issues found in #1317
diff --git a/ed448-goldilocks/src/field/element.rs b/ed448-goldilocks/src/field/element.rs index 0bfc1f51..1fac5e03 100644 --- a/ed448-goldilocks/src/field/element.rs +++ b/ed448-goldilocks/src/field/element.rs @@ -536,7 +536,7 @@ mod tests { ) .unwrap(); let mut data = Array::<u8...
5
133
50
437db4c9b3c6eac36f7ad3527188e5d5797cab0d
daxpedda
2025-09-02T16:41:44
hash2curve: rename `GroupDigest::K` to `SecurityLevel` (#1388)
diff --git a/ed448-goldilocks/src/lib.rs b/ed448-goldilocks/src/lib.rs index 63b9eeb6..c6daa38b 100644 --- a/ed448-goldilocks/src/lib.rs +++ b/ed448-goldilocks/src/lib.rs @@ -118,7 +118,7 @@ impl elliptic_curve::CurveArithmetic for Ed448 { } impl GroupDigest for Ed448 { - type K = U28; + type SecurityLevel = ...
7
15
15
e25ccd1617ca75b8d3047ba4f884d6d2348c6d5f
Tony Arcieri
2025-09-02T03:17:56
Bump `hybrid-array` to v0.4 (#1385)
diff --git a/Cargo.lock b/Cargo.lock index c10b82c8..b67ec18c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -139,8 +139,7 @@ checksum = "847495c209977a90e8aad588b959d0ca9f5dc228096d29a6bd3defd53f35eaec" [[package]] name = "block-buffer" version = "0.11.0-rc.4" -source = "registry+https://github.com/rust-lang/crates.io...
5
35
36
72fe7bc65f4896e7719c222bfd58b5a1cfd0b3c9
daxpedda
2025-09-01T20:51:41
Fix `ed448-goldilocks` Benchmark Suite (#1384)
diff --git a/ed448-goldilocks/benches/bench.rs b/ed448-goldilocks/benches/bench.rs index 96c029b9..f85a0e0f 100644 --- a/ed448-goldilocks/benches/bench.rs +++ b/ed448-goldilocks/benches/bench.rs @@ -3,6 +3,7 @@ use ed448_goldilocks::{ CompressedDecaf, CompressedEdwardsY, Decaf448, DecafPoint, DecafScalar, EdwardsP...
1
3
2
ff17407da343a2505bdf5d1dff4b0dae92825380
daxpedda
2025-09-01T18:44:16
Use `ConstMontyForm::invert()` in place of `pow()` (#1332)
diff --git a/ed448-goldilocks/src/field/element.rs b/ed448-goldilocks/src/field/element.rs index dd4102c4..0bfc1f51 100644 --- a/ed448-goldilocks/src/field/element.rs +++ b/ed448-goldilocks/src/field/element.rs @@ -332,12 +332,8 @@ impl FieldElement { } /// Inverts a field element - /// Previous chain le...
1
1
5
b6335464961f5736a39b0f18b06e0a468606dc9f
daxpedda
2025-09-01T18:41:56
ed448-goldilocks: add basic benchmark suite (#1334)
diff --git a/Cargo.lock b/Cargo.lock index fbd342d5..c10b82c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -397,6 +397,7 @@ dependencies = [ name = "ed448-goldilocks" version = "0.14.0-pre.2" dependencies = [ + "criterion", "ed448", "elliptic-curve", "hash2curve", diff --git a/ed448-goldilocks/Cargo.toml b/ed44...
3
187
0
19962f7c623196509c79aa5b17cf5b2f48f98728
Arthur Gautier
2025-08-21T02:46:57
x448: api fixups (#1374) - remove `to_diffie_hellman` - make `Secret` a newtype for `Array`
diff --git a/x448/src/lib.rs b/x448/src/lib.rs index 5d62031a..4f8467c1 100644 --- a/x448/src/lib.rs +++ b/x448/src/lib.rs @@ -1,8 +1,13 @@ #![no_std] +use core::array::TryFromSliceError; use ed448_goldilocks::{ MontgomeryPoint, - elliptic_curve::{bigint::U448, scalar::FromUintUnchecked}, + elliptic_curv...
1
25
28
e73bccf51fa4b2556ececf340ad110135e821e6c
Charles Edward Gagnon
2025-08-12T19:42:30
hash2curve: error rework (#1338) Discussed in #1295
diff --git a/hash2curve/src/group_digest.rs b/hash2curve/src/group_digest.rs index da493503..b85d54ef 100644 --- a/hash2curve/src/group_digest.rs +++ b/hash2curve/src/group_digest.rs @@ -1,8 +1,7 @@ //! Traits for handling hash to curve. use super::{ExpandMsg, MapToCurve, hash_to_field}; -use elliptic_curve::array:...
5
141
115
4e9e34a7f02d636bb06fd9e652e619f04c76d5ae
Arthur Gautier
2025-08-06T18:12:19
build(deps): bump der from 0.8.0-rc.7 to 0.8.0-rc.8 (#1363)
diff --git a/Cargo.lock b/Cargo.lock index 455653ad..ed75a158 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -340,9 +340,9 @@ dependencies = [ [[package]] name = "der" -version = "0.8.0-rc.7" +version = "0.8.0-rc.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2fe0a4fafae25053c19a03f...
8
14
13
c3ea0336c49baab13cba6f13df44716defa28d45
heliannuuthus
2025-08-05T15:01:38
sm2: support ASN.1 DER signature format for SM2DSA (#1358)
diff --git a/sm2/Cargo.toml b/sm2/Cargo.toml index f84e9108..f342fd2f 100644 --- a/sm2/Cargo.toml +++ b/sm2/Cargo.toml @@ -28,6 +28,7 @@ rfc6979 = { version = "0.5.0-rc.0", optional = true } serdect = { version = "0.3", optional = true, default-features = false } signature = { version = "3.0.0-rc.1", optional = true,...
6
376
18
5f27bb482fe54b5e8330ffa6cb977b782e34ab83
daxpedda
2025-08-05T14:02:07
`primeorder`: add optimized implementation for `LinearCombination` (#1360)
diff --git a/p256/tests/projective.rs b/p256/tests/projective.rs index 0fe8a46f..2120c57e 100644 --- a/p256/tests/projective.rs +++ b/p256/tests/projective.rs @@ -3,9 +3,10 @@ #![cfg(all(feature = "arithmetic", feature = "test-vectors"))] use elliptic_curve::{ - BatchNormalize, + BatchNormalize, Group, + a...
2
125
45
7f9b34109affdcc4e3c6d14db106cb0df1636d54
Arthur Gautier
2025-08-05T12:20:32
Use new `Reduce` trait (#1359) Uses the `Reduce` trait added in RustCrypto/traits#1949
diff --git a/Cargo.lock b/Cargo.lock index 001d38c6..455653ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,8 +318,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" -version = "0.7.0-pre.7" -source = "git+https://github.com/RustCrypto/crypto-big...
45
214
205
31df642ebb235f62d20d4e272a5ce99ab896ab42
Tony Arcieri
2025-08-04T21:09:17
primefield: add `MontyFieldElement` methods to fiat macros (#1355) Ensures that implementations using fiat-crypto have all of the same methods as `MontyFieldElement`, notably adding: - `const_invert` - `from_hex_vartime`
diff --git a/bign256/src/arithmetic.rs b/bign256/src/arithmetic.rs index 9d655076..0ddbfdc1 100644 --- a/bign256/src/arithmetic.rs +++ b/bign256/src/arithmetic.rs @@ -34,12 +34,16 @@ impl PrimeCurveArithmetic for BignP256 { impl PrimeCurveParams for BignP256 { type FieldElement = FieldElement; type PointArit...
33
145
90
d2e46f66dded8894cf2c48f02b38c356439c9da7
Tony Arcieri
2025-08-04T20:50:18
Revert #1343: "`primeorder`: add optimized implementation for `LinearCombination`" (#1356) This reverts commit 4d49ce68efbad966e9c042c8d4bab0a1ca398725. Getting some very strange build failures, e.g.: https://github.com/RustCrypto/elliptic-curves/actions/runs/16733154177/job/47365846705 It seems to be failing on 32...
diff --git a/p256/tests/projective.rs b/p256/tests/projective.rs index 1ac18ee4..0044a3e8 100644 --- a/p256/tests/projective.rs +++ b/p256/tests/projective.rs @@ -3,9 +3,9 @@ #![cfg(all(feature = "arithmetic", feature = "test-vectors"))] use elliptic_curve::{ - BatchNormalize, Group, + BatchNormalize, gr...
2
45
124
4d49ce68efbad966e9c042c8d4bab0a1ca398725
daxpedda
2025-08-04T20:10:30
`primeorder`: add optimized implementation for `LinearCombination` (#1343)
diff --git a/p256/tests/projective.rs b/p256/tests/projective.rs index 0044a3e8..1ac18ee4 100644 --- a/p256/tests/projective.rs +++ b/p256/tests/projective.rs @@ -3,9 +3,9 @@ #![cfg(all(feature = "arithmetic", feature = "test-vectors"))] use elliptic_curve::{ - BatchNormalize, + BatchNormalize, Group, gr...
2
124
45
987d169e2f7bceb051145a336c708c3dff8532b8
Tony Arcieri
2025-08-04T18:58:36
primefield: remove `ConstMontyFormInverter` (#1353) Now that the bounds on inversion have been removed, we no longer need to use this directly
diff --git a/Cargo.lock b/Cargo.lock index c022e4b1..001d38c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -319,7 +319,7 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" version = "0.7.0-pre.7" -source = "git+https://github.com/RustCrypto/crypto-bigin...
2
3
7
b9a0167d00d233365b85abff53eaeef9bf187678
daxpedda
2025-08-03T16:04:02
`ed448-goldilocks`: optimize Edwards isogeny map further (#1350) Fixes #1349
diff --git a/ed448-goldilocks/src/curve/twedwards.rs b/ed448-goldilocks/src/curve/twedwards.rs index 4b9cf653..aa2a94c2 100644 --- a/ed448-goldilocks/src/curve/twedwards.rs +++ b/ed448-goldilocks/src/curve/twedwards.rs @@ -6,3 +6,56 @@ pub(crate) mod affine; pub(crate) mod extended; pub(crate) mod extensible; pub(cr...
3
73
54
30da3ccf10e4f9af47a78b075d56c0bc86a4c206
daxpedda
2025-08-03T15:35:08
`p521`: use reduction in `ReduceNonZero<U576>` (#1345)
diff --git a/p521/src/arithmetic/scalar.rs b/p521/src/arithmetic/scalar.rs index 57464534..51f13448 100644 --- a/p521/src/arithmetic/scalar.rs +++ b/p521/src/arithmetic/scalar.rs @@ -22,7 +22,7 @@ use core::{ }; use elliptic_curve::{ Curve as _, Error, FieldBytesEncoding, Result, - bigint::{self, Integer}, + ...
1
10
6
5524cdd766ce481d0740c3b7ac6124bdd0cd473f
daxpedda
2025-08-03T14:36:56
ed448-goldilocks: optimize Edwards isogeny map (#1316) See also #1349
diff --git a/ed448-goldilocks/src/curve/twedwards/extended.rs b/ed448-goldilocks/src/curve/twedwards/extended.rs index 609c391b..ee50a552 100644 --- a/ed448-goldilocks/src/curve/twedwards/extended.rs +++ b/ed448-goldilocks/src/curve/twedwards/extended.rs @@ -104,25 +104,33 @@ impl ExtendedPoint { AffinePoint {...
3
38
41
999e0c902fd4f0fe91b0ba6e2c3afee400fa74e0
daxpedda
2025-08-03T00:12:51
`ed448-goldilocks`: reject identity points in `Group::try_from_rng()` (#1347)
diff --git a/ed448-goldilocks/src/decaf/points.rs b/ed448-goldilocks/src/decaf/points.rs index 5f8b7c01..e075604a 100644 --- a/ed448-goldilocks/src/decaf/points.rs +++ b/ed448-goldilocks/src/decaf/points.rs @@ -177,8 +177,11 @@ impl Group for DecafPoint { let mut bytes = DecafPointRepr::default(); l...
2
10
4
9e8656b1d8c0581dcb294db26db28097bbad5c48
daxpedda
2025-08-02T20:24:08
Use rejection sampling for random point generation (#1344) Co-authored-by: Tony Arcieri <bascule@gmail.com>
diff --git a/ed448-goldilocks/src/decaf/points.rs b/ed448-goldilocks/src/decaf/points.rs index d4e1dd5c..5f8b7c01 100644 --- a/ed448-goldilocks/src/decaf/points.rs +++ b/ed448-goldilocks/src/decaf/points.rs @@ -174,9 +174,14 @@ impl Group for DecafPoint { where R: TryRngCore + ?Sized, { - let ...
6
64
15
912d93994830f961b1f6a48160e0898d6236ce54
Tony Arcieri
2025-07-28T22:17:47
primefield: update to safegcd-bounds (#1331) Uses the new safegcd impl, which has a better strategy for computing the upper bounds on the number of divstep operations. It also has improved "bounds" in other ways, namely it's impl'd for all sizes and no longer needs to rely on the `PrecomputedInverter` trait or `SafeG...
diff --git a/Cargo.lock b/Cargo.lock index 1c77420e..c022e4b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -319,7 +319,7 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" version = "0.7.0-pre.7" -source = "git+https://github.com/RustCrypto/crypto-bigin...
2
8
22
20eeefff523f46c9ad8effb23add8164d4b53381
Tony Arcieri
2025-07-23T02:33:02
primefield: generic `MontyFieldElement` type (#1311) The previous implementation was written entirely in terms of macros. Leveraging types from `crypto-bigint`, this provides a generic field element type with an internal Montgomery form representation.
diff --git a/Cargo.lock b/Cargo.lock index aee48a0e..af709a0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -319,8 +319,7 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" version = "0.7.0-pre.7" -source = "registry+https://github.com/rust-lang/crates.i...
6
850
25
37fbeea31e1834d830f45d55bd537f7ce2d6fc8a
Tony Arcieri
2025-07-22T12:58:27
primefield: have `test_primefield_constants!` compute `T` (#1324) ...where `T` is `(modulus - 1) >> S`. Previously this was precomputed manually on a curve-by-curve basis. This commit changes it to compute `T` from the other constants.
diff --git a/bign256/src/arithmetic/field.rs b/bign256/src/arithmetic/field.rs index bdbd48c0..d54dc41f 100644 --- a/bign256/src/arithmetic/field.rs +++ b/bign256/src/arithmetic/field.rs @@ -123,15 +123,6 @@ impl PrimeField for FieldElement { #[cfg(test)] mod tests { - use super::FieldElement; - - // t = (mod...
21
84
247
2fc7568c0819df638cd162ab42c65a2c4479d54b
Tony Arcieri
2025-07-22T00:35:23
primefield: extract `dev` module (#1323) Moves all of the `test_*!` macros to the `dev` module
diff --git a/primefield/src/dev.rs b/primefield/src/dev.rs new file mode 100644 index 00000000..509120b5 --- /dev/null +++ b/primefield/src/dev.rs @@ -0,0 +1,116 @@ +/// Implement all tests for a type which impls the `PrimeField` trait. +#[macro_export] +macro_rules! test_primefield { + ($fe:tt, $t:expr) => { + ...
2
117
117
05a1ff05280924910afb7406b6e7f8fe2e3b6792
Tony Arcieri
2025-07-22T00:00:17
p256: use `primefield::test_primefield` to test `FieldElement` (#1322) The macro tests the `PrimeField` constants, `invert`, `sqrt`, and other tests which were previously handwritten
diff --git a/p256/src/arithmetic/field.rs b/p256/src/arithmetic/field.rs index e62b38f5..b7b651df 100644 --- a/p256/src/arithmetic/field.rs +++ b/p256/src/arithmetic/field.rs @@ -196,26 +196,21 @@ impl PrimeField for FieldElement { mod tests { use super::FieldElement; use crate::{FieldBytes, test_vectors::fi...
1
8
33
d0f55baae68d0508cf5c1d005fc1774c7f77c857
Tony Arcieri
2025-07-21T15:06:14
primefield: remove `shr` support (#1320) It was noted as buggy in #1319 because `shr` was being computed on values within the Montgomery domain directly. They either need to be converted to canonical form first, or a multiplication needs to be used in place of a bit shift. Turns out it was completely unused, aside fr...
diff --git a/Cargo.lock b/Cargo.lock index 36270107..aee48a0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -417,7 +417,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.10" -source = "git+https://github.com/RustCrypto/traits.git...
3
2
116
e8b3a04b6e7674177e99826a55573ac43d2c0ee9
daxpedda
2025-07-20T15:21:51
ed448-goldilocks: assorted fixes and improvements (#1302) * `DecafPoint` is always torsion free * Use `Uint::to_le_byte_array()` directly * Use `is_negative()` directly * Enforce constant-time `FieldElement::square_n()` * Simplify `FieldElement::square_n()` and protect against zero * Use double optimization where appr...
diff --git a/ed448-goldilocks/src/constants.rs b/ed448-goldilocks/src/constants.rs index 2041cdd1..bd6cc7eb 100644 --- a/ed448-goldilocks/src/constants.rs +++ b/ed448-goldilocks/src/constants.rs @@ -6,15 +6,3 @@ pub const DECAF_BASEPOINT: DecafPoint = DecafPoint(curve::twedwards::extended::E Z: TWISTED_EDWARDS_BAS...
7
27
46
cfafae25441eaecfc9fb180d586ef517c2c431f5
daxpedda
2025-07-20T14:48:29
Use `elliptic_curve::scalar_impls!` instead of `scalar_from_impls!` (#1315)
diff --git a/ed448-goldilocks/src/decaf/affine.rs b/ed448-goldilocks/src/decaf/affine.rs index 377f147c..bc5036a4 100644 --- a/ed448-goldilocks/src/decaf/affine.rs +++ b/ed448-goldilocks/src/decaf/affine.rs @@ -93,36 +93,6 @@ impl From<NonIdentity<AffinePoint>> for AffinePoint { } } -impl Mul<DecafScalar> for A...
6
11
85
49c457a39257ca9ec1b8bf44a840e69d2b98632b
Arthur Gautier
2025-07-19T22:44:35
ed448-goldilocks: export LOW_A/LOW_B/LOW_C points (#1304)
diff --git a/ed448-goldilocks/src/montgomery.rs b/ed448-goldilocks/src/montgomery.rs index 5c4df6c6..3fef4d89 100644 --- a/ed448-goldilocks/src/montgomery.rs +++ b/ed448-goldilocks/src/montgomery.rs @@ -18,25 +18,29 @@ use core::fmt; use core::ops::Mul; use subtle::{Choice, ConditionallySelectable, ConstantTimeEq}; ...
1
24
20
9b162e5f987380304dfba7726e783971b9c021e7
Tony Arcieri
2025-07-19T17:13:45
Bump `crypto-bigint` to v0.7.0-pre.7 (#1310)
diff --git a/Cargo.lock b/Cargo.lock index fd02fd48..36270107 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,9 +318,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-bigint" -version = "0.7.0-pre.6" +version = "0.7.0-pre.7" source = "registry+https://gi...
3
5
5
579190a9c7abbb0b656acaf724ca0a9b0810eef1
Charles Edward Gagnon
2025-07-18T21:30:15
hash2curve: make `hash_to_field` output an array instead of taking an out parameter. (#1296)
diff --git a/hash2curve/src/group_digest.rs b/hash2curve/src/group_digest.rs index 74ecaf8b..da493503 100644 --- a/hash2curve/src/group_digest.rs +++ b/hash2curve/src/group_digest.rs @@ -36,10 +36,9 @@ pub trait GroupDigest: MapToCurve { where X: ExpandMsg<Self::K>, { - let mut u = [Self::Fiel...
6
24
28
425e867c6053ed2da62a83915b28e8e7d0e0bc8f
daxpedda
2025-07-18T13:41:04
ed448-goldilocks: move Edwards and Montgomary to their own modules (#1300)
diff --git a/ed448-goldilocks/src/curve.rs b/ed448-goldilocks/src/curve.rs index 8a453057..372b2fca 100644 --- a/ed448-goldilocks/src/curve.rs +++ b/ed448-goldilocks/src/curve.rs @@ -1,9 +1,2 @@ -pub mod edwards; -pub mod montgomery; -mod scalar; pub(crate) mod scalar_mul; pub(crate) mod twedwards; - -pub use edwards...
11
14
19
86e55d0a94fe7aa531356823e393a6d6f08deda1
Tony Arcieri
2025-07-16T16:07:27
Bump `ecdsa` to v0.17.0-rc.5 (#1298)
diff --git a/Cargo.lock b/Cargo.lock index 295bcaa8..fd02fd48 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -363,8 +363,9 @@ dependencies = [ [[package]] name = "ecdsa" -version = "0.17.0-rc.4" -source = "git+https://github.com/RustCrypto/signatures.git#23623f57ed26315834d6b2ab5b4901563e55105a" +version = "0.17.0-rc....
2
5
5
275d26572ea3edc190100b46fd65b0e998cf63cb
Tony Arcieri
2025-07-11T23:39:37
ed448-goldilocks v0.14.0-pre.2 (#1293)
diff --git a/Cargo.lock b/Cargo.lock index 23e58dd5..295bcaa8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -390,7 +390,7 @@ dependencies = [ [[package]] name = "ed448-goldilocks" -version = "0.14.0-pre.1" +version = "0.14.0-pre.2" dependencies = [ "ed448", "elliptic-curve", diff --git a/ed448-goldilocks/Cargo.t...
2
2
2
97a50fde1fcf9e786ffdb90d45dcc040e8ce8545
StackOverflowExcept1on
2025-07-11T18:31:19
chore(ed448-goldilocks): fix link to repository (#1292)
diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index 5b22bc6c..367714a6 100644 --- a/ed448-goldilocks/Cargo.toml +++ b/ed448-goldilocks/Cargo.toml @@ -5,7 +5,7 @@ authors = ["RustCrypto Developers"] categories = ["cryptography"] keywords = ["cryptography", "decaf", "ed448", "ed448-goldilocks"]...
1
1
1
6b4a696273c36db161e4cb5471f932a0387ca1c4
Tony Arcieri
2025-07-10T15:05:59
Cut pre.9 prereleases (#1290) Cuts prereleases of `k256`, `p256`, `p384`, and `p521`
diff --git a/Cargo.lock b/Cargo.lock index 088192fa..23e58dd5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -615,7 +615,7 @@ dependencies = [ [[package]] name = "k256" -version = "0.14.0-pre.8" +version = "0.14.0-pre.9" dependencies = [ "blobby", "cfg-if", @@ -760,7 +760,7 @@ dependencies = [ [[package]] nam...
5
8
8
8f6a3433967e3ecb3f21f1a068947a32c8fd2a17
Tony Arcieri
2025-07-10T14:38:37
Cut `primefield` and `primeorder` rcs (#1289) Releases the following: - `primefield` v0.14.0-pre.4 - `primeorder` v0.14.0-pre.7
diff --git a/Cargo.lock b/Cargo.lock index 28368c31..088192fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -877,7 +877,7 @@ dependencies = [ [[package]] name = "primefield" -version = "0.14.0-pre.3" +version = "0.14.0-pre.4" dependencies = [ "crypto-bigint", "ff", @@ -888,7 +888,7 @@ dependencies = [ [[packa...
12
29
29
92610cb48084ad0f32802202e5a33bf3a3c0e73a
Tony Arcieri
2025-07-10T14:14:32
Bump `elliptic-curve` dependency to v0.14.0-rc.10 (#1288)
diff --git a/Cargo.lock b/Cargo.lock index 978286c1..28368c31 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -340,9 +340,9 @@ dependencies = [ [[package]] name = "der" -version = "0.8.0-rc.6" +version = "0.8.0-rc.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7d571780ddd86c50ecbcf70...
14
24
25
6a9d8f0ebe804181bb37f764978de05ddaaf4c08
daxpedda
2025-07-08T21:54:36
ed448-goldilocks: fix Decaf448 map2curve and add test vectors (#1283)
diff --git a/ed448-goldilocks/src/decaf.rs b/ed448-goldilocks/src/decaf.rs index 59b4de84..d907c60e 100644 --- a/ed448-goldilocks/src/decaf.rs +++ b/ed448-goldilocks/src/decaf.rs @@ -9,3 +9,78 @@ mod scalar; pub use affine::AffinePoint; pub use points::{CompressedDecaf, DecafPoint}; pub use scalar::{DecafScalar, Dec...
2
113
48
2164da6890e87e49aae2a63a00c0a86e299bebaa
daxpedda
2025-07-08T20:21:12
Update `elliptic-curve` (#1285)
diff --git a/Cargo.lock b/Cargo.lock index 872aaef4..097c70de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "ecdsa" version = "0.17.0-rc.4" -source = "git+https://github.com/carloskiki/signatures.git#8741276c5d13fb4dcc9aeb915292f9b9fbabf1ef" +source = "git+https://g...
1
1
1
ebfa4c90bd4099b94984c61dca664b1bbc010f0a
daxpedda
2025-07-08T19:22:29
ed448-goldilocks: remove ability to construct invalid `Scalar`s (#1281)
diff --git a/ed448-goldilocks/src/field/scalar.rs b/ed448-goldilocks/src/field/scalar.rs index e037cb1c..ff8dc770 100644 --- a/ed448-goldilocks/src/field/scalar.rs +++ b/ed448-goldilocks/src/field/scalar.rs @@ -698,11 +698,6 @@ impl Scalar { bits } - /// Construct a `Scalar` from a little-endian byte...
1
2
7
be1c4b8085d4cb6b753357263e38f5414c9d403c
Tony Arcieri
2025-07-03T23:28:48
Bump `elliptic-curve` to v0.14.0-rc.8 (#1280)
diff --git a/Cargo.lock b/Cargo.lock index 2679b324..904df569 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,9 +318,9 @@ checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "crypto-bigint" -version = "0.7.0-pre.5" +version = "0.7.0-pre.6" source = "registry+https://gi...
16
44
44
3381a99b6412ef9fa556e32a834e401d569007e3
Tony Arcieri
2025-06-21T01:18:47
Cut pre.8 prereleases (#1274) Cuts prereleases of `k256`, `p256`, `p384`, and `p521`
diff --git a/Cargo.lock b/Cargo.lock index 34584582..2679b324 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -602,7 +602,7 @@ dependencies = [ [[package]] name = "k256" -version = "0.14.0-pre.7" +version = "0.14.0-pre.8" dependencies = [ "blobby", "cfg-if", @@ -746,7 +746,7 @@ dependencies = [ [[package]] nam...
5
8
8
f890007240b268c2a2ebc112a68b8ebf2d759d2e
Tony Arcieri
2025-06-21T00:49:19
primeorder v0.14.0-pre.6 (#1273)
diff --git a/Cargo.lock b/Cargo.lock index b2eb77fb..34584582 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -340,9 +340,9 @@ dependencies = [ [[package]] name = "der" -version = "0.8.0-rc.4" +version = "0.8.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2e6107818886eff6b71fba...
13
47
47
099b3275f52ad0e08b1b2d78d3dd9eab7b8dee0d
Tony Arcieri
2025-06-20T23:51:33
primefield v0.14.0-pre.3 (#1271)
diff --git a/Cargo.lock b/Cargo.lock index 305673e8..b2eb77fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -860,7 +860,7 @@ dependencies = [ [[package]] name = "primefield" -version = "0.14.0-pre.2" +version = "0.14.0-pre.3" dependencies = [ "crypto-bigint", "ff", diff --git a/bign256/Cargo.toml b/bign256/Cargo...
11
12
12
e09c55df97c2e272c7aba9bb5c077addc4530c40
Tony Arcieri
2025-06-20T23:22:49
primefield: remove `field_element_type_core!` macro (#1272) This macro was a workaround for when it wasn't possible to use the `field_element_type!` macro for all fields we implement in this repo. However, all crates now use `field_element_type!`, so we can (re)combine the two macros again.
diff --git a/primefield/src/lib.rs b/primefield/src/lib.rs index 7ad6ae8c..6f8dac77 100644 --- a/primefield/src/lib.rs +++ b/primefield/src/lib.rs @@ -74,7 +74,190 @@ macro_rules! field_element_type { $decode_uint:path, $encode_uint:path ) => { - $crate::field_element_type_core!($fe, $byte...
1
184
199
b92289ec6055be4610b19e5ed8929dd6bc4fbc6f
Andrew Whitehead
2025-06-20T23:03:56
primeorder: add optimized addition formulas for curves with a=0 (#1270) Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
diff --git a/primeorder/src/point_arithmetic.rs b/primeorder/src/point_arithmetic.rs index 994bea72..94fc2782 100644 --- a/primeorder/src/point_arithmetic.rs +++ b/primeorder/src/point_arithmetic.rs @@ -316,3 +316,159 @@ impl<C: PrimeCurveParams> PointArithmetic<C> for EquationAIsMinusThree { ProjectivePoint {...
1
156
0
401b01334c6af1e7c115c459d540cced75a7048a
VolodymyrBg
2025-06-19T18:01:07
bign256: update SIGMA protocol reference link in documentation (#1269)
diff --git a/bign256/src/ecdh.rs b/bign256/src/ecdh.rs index b4e47fec..695bbafb 100644 --- a/bign256/src/ecdh.rs +++ b/bign256/src/ecdh.rs @@ -20,7 +20,7 @@ //! [`diffie_hellman`] function. //! //! [AKE]: https://en.wikipedia.org/wiki/Authenticated_Key_Exchange -//! [SIGMA]: https://webee.technion.ac.il/~hugo/sigma-...
1
1
1
3ecd75c9d73d93f1ebfa702d386e2c5566258988
Arthur Gautier
2025-06-19T17:37:12
chore(deps): bump `crypto-bigint` to `0.7.0-pre.5` (#1268)
diff --git a/Cargo.lock b/Cargo.lock index 2f6856dc..305673e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,9 +318,9 @@ checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "crypto-bigint" -version = "0.7.0-pre.4" +version = "0.7.0-pre.5" source = "registry+https://gi...
2
5
5
2f80a3da7518c719c9c6bf72824c6b9545362b4e
Andrew Whitehead
2025-06-18T22:40:30
primeorder: fix Bernstein-Yang inversion iteration count (#1267) Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
diff --git a/primefield/src/fiat.rs b/primefield/src/fiat.rs index d391b46e..b05a6c05 100644 --- a/primefield/src/fiat.rs +++ b/primefield/src/fiat.rs @@ -131,7 +131,7 @@ macro_rules! fiat_field_arithmetic { let words = $crate::fiat_bernstein_yang_invert!( &$mont_type(self.0.to_wor...
1
1
1
df9703c1ceb76af6a3f5b46b221fb8848a508ffd
Tony Arcieri
2025-06-14T18:22:11
Cut pre.7 prereleases (#1264) Cuts prereleases of `k256`, `p256`, `p384`, and `p521`
diff --git a/Cargo.lock b/Cargo.lock index f7aa8121..2f6856dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -602,7 +602,7 @@ dependencies = [ [[package]] name = "k256" -version = "0.14.0-pre.6" +version = "0.14.0-pre.7" dependencies = [ "blobby", "cfg-if", @@ -746,7 +746,7 @@ dependencies = [ [[package]] nam...
5
8
8
6e43451d07a80e0d72ee93e73d372699715cc690
Tony Arcieri
2025-06-14T17:59:33
Bump `ecdsa` dependency to v0.17.0-rc.2 (#1263)
diff --git a/Cargo.lock b/Cargo.lock index 10685bbb..f7aa8121 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -363,9 +363,9 @@ dependencies = [ [[package]] name = "ecdsa" -version = "0.17.0-rc.1" +version = "0.17.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ca18d8009d96ffc2a8b...
18
25
25
87f34c257f1451d621e1591754562d3d17b2f974
daxpedda
2025-06-14T13:32:32
Use `elliptic_curve::CurveGroup` (#1262)
diff --git a/ed448-goldilocks/src/curve/edwards/extended.rs b/ed448-goldilocks/src/curve/edwards/extended.rs index dd9c7dc9..a6887d7f 100644 --- a/ed448-goldilocks/src/curve/edwards/extended.rs +++ b/ed448-goldilocks/src/curve/edwards/extended.rs @@ -11,10 +11,10 @@ use crate::curve::twedwards::extended::ExtendedPoint ...
5
28
27
90a6987e3d18989d309b593c854825dbcbfa602b
Tony Arcieri
2025-06-14T03:33:30
primeorder v0.14.0-pre.5 (#1261) Also cuts prereleases of `k256`, `p256`, `p384`, and `p521`
diff --git a/Cargo.lock b/Cargo.lock index 2c13a096..10685bbb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -602,7 +602,7 @@ dependencies = [ [[package]] name = "k256" -version = "0.14.0-pre.5" +version = "0.14.0-pre.6" dependencies = [ "blobby", "cfg-if", @@ -746,7 +746,7 @@ dependencies = [ [[package]] nam...
12
25
25
bf0ce961ffbdf27408c77e778a04e42b52c41495
Tony Arcieri
2025-06-14T03:10:03
ed448-goldilocks v0.14.0-pre.1 (#1260)
diff --git a/Cargo.lock b/Cargo.lock index bcb4eab6..2c13a096 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -391,7 +391,7 @@ dependencies = [ [[package]] name = "ed448-goldilocks" -version = "0.14.0-pre.0" +version = "0.14.0-pre.1" dependencies = [ "ed448", "elliptic-curve", diff --git a/ed448-goldilocks/Cargo.t...
2
2
2
ca66ca74b7e3c341889356f2b07b4d57808a7cd3
Tony Arcieri
2025-06-14T02:48:58
ed448-goldilocks: don't rename `signature` crate (#1259) Uses the original crate name and re-exports it under `ed448_goldilocks::sign::signature`
diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index e9af66d5..39edcd6b 100644 --- a/ed448-goldilocks/Cargo.toml +++ b/ed448-goldilocks/Cargo.toml @@ -16,21 +16,23 @@ This crate also includes signing and verifying of Ed448 signatures. """ [dependencies] -crypto_signature = { version = "3.0.0...
6
66
66
33eac2479ea81ca71f9c8bf17a4d69c18a4fa5bc
Tony Arcieri
2025-06-14T02:13:29
Bump `elliptic-curve` to v0.14.0-rc.6 (#1258)
diff --git a/Cargo.lock b/Cargo.lock index a4141817..bcb4eab6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -415,8 +415,9 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" -version = "0.14.0-rc.5" -source = "git+https://github.com/RustCrypto/traits#0e...
14
29
32
b9103a65f3f017e8244ae5cf364ccf7b150a654d
daxpedda
2025-06-13T21:55:54
Update `elliptic-curve` (#1257) * Update to changes in `BatchNormalize` (RustCrypto/traits#1896) * Update to hash2curve changes (RustCrypto/traits#1901)
diff --git a/Cargo.lock b/Cargo.lock index 2432f0b3..a4141817 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -416,8 +416,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.5" -source = "registry+https://github.com/rust-lang/crates....
8
62
17
dda3c800f03d726ae56ad6a934e7bacde921a779
Tony Arcieri
2025-06-13T16:10:33
ed448-goldilocks: derive `Default` on scalar (#1253) This is primarily to address the license issue on #1226 as we haven't heard back from the original author of this code (@roynalnaruto) on whether they are okay with relicensing.
diff --git a/ed448-goldilocks/src/field/scalar.rs b/ed448-goldilocks/src/field/scalar.rs index 9d3c5214..e5a960e8 100644 --- a/ed448-goldilocks/src/field/scalar.rs +++ b/ed448-goldilocks/src/field/scalar.rs @@ -24,7 +24,7 @@ use elliptic_curve::ff::{FieldBits, PrimeFieldBits}; /// This is the scalar field /// size = ...
1
1
7
23d743d9f9448adfd8fe18f708963faebef1e667
Arthur Gautier
2025-06-09T14:20:59
ed448-goldilocks: reuse types from `ed448` (#1224)
diff --git a/Cargo.lock b/Cargo.lock index 39f29d38..3f775976 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -377,10 +377,23 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed448" +version = "0.5.0-pre.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24f3621b15eb4095d0e7c2502ab...
5
60
235
c6efb4e4cc809dd020dc3e63c01629ab4551b75f
Tony Arcieri
2025-06-07T18:45:26
ed448-goldilocks v0.14.0-pre.0 (#1247)
diff --git a/Cargo.lock b/Cargo.lock index c1abd9f7..39f29d38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "ed448-goldilocks" -version = "0.14.0-pre" +version = "0.14.0-pre.0" dependencies = [ "elliptic-curve", "hex", diff --git a/ed448-goldilocks/Cargo.toml ...
2
2
2
7f7d22ecfcefd2f0f0a8d20985d68b286cbc8b97
Tony Arcieri
2025-06-07T17:12:52
ed448-goldilocks: remove explicit dep on `crypto-bigint` (#1244) We can source it through `elliptic-curve`, which is a hard dependency
diff --git a/Cargo.lock b/Cargo.lock index 9cc53d03..0f117fc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -381,7 +381,6 @@ dependencies = [ name = "ed448-goldilocks" version = "0.14.0-pre" dependencies = [ - "crypto-bigint", "elliptic-curve", "hex", "hex-literal", diff --git a/ed448-goldilocks/Cargo.toml b/ed4...
4
4
8
ce13ffb03b3be4d987b9786224c7df137304dd39
Tony Arcieri
2025-06-07T16:50:47
ed448-goldilocks: have `std` feature activate `alloc` (#1243) liballoc is always available when libstd is linked. This simplifies the feature gating.
diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index 3d2d6ba2..129549d9 100644 --- a/ed448-goldilocks/Cargo.toml +++ b/ed448-goldilocks/Cargo.toml @@ -18,7 +18,7 @@ This crate also includes signing and verifying of Ed448 signatures. [dependencies] crypto-bigint = { version = "=0.7.0-pre.4", fe...
7
42
41
8dea05a3bb3a829a20f4a5ef5318f8006ecdaa0c
Tony Arcieri
2025-06-07T14:48:09
primeorder v0.14.0-pre.4 (#1241) Also cuts prereleases of `k256`, `p256`, `p384`, and `p521`
diff --git a/Cargo.lock b/Cargo.lock index fb1cc189..9cc53d03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "ed448-goldilocks" -version = "0.17.0-pre.0" +version = "0.14.0-pre" dependencies = [ "crypto-bigint", "elliptic-curve", @@ -602,7 +602,7 @@ dependencie...
13
27
27
12818cf96cc5cae12e8eaba84cbf2d1897dbe52d
Tony Arcieri
2025-06-07T14:14:50
Cargo.lock: update dependencies (#1240) Bumps the following dependencies: $ cargo update Updating crates.io index Locking 5 packages to latest compatible versions Updating anstyle v1.0.10 -> v1.0.11 Updating bumpalo v3.17.0 -> v3.18.1 Updating der v0.8.0-rc.3 -> v0.8.0-rc.4 Updating ecdsa...
diff --git a/Cargo.lock b/Cargo.lock index 397b6e1f..fb1cc189 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -30,9 +30,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang...
1
10
10
4d5cc25eacb6a56a96aa87c3b310642cd38b0d54
Tony Arcieri
2025-06-07T13:45:16
Bump `elliptic-curve` to v0.14.0-rc.5 (#1239)
diff --git a/Cargo.lock b/Cargo.lock index 2a76a3a2..397b6e1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -404,8 +404,9 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" -version = "0.14.0-rc.4" -source = "git+https://github.com/RustCrypto/traits.gi...
14
15
15
bc0960f8b4259026a96ae3c85c7e420d9f6d8a8b
Tony Arcieri
2025-06-06T23:15:53
Migrate to `elliptic_curve::scalar_impls!` (#1236) Companion PR to RustCrypto/traits#1894 which migrates the macros upstream from the `primeorder` crate to the `elliptic-curve` crate.
diff --git a/Cargo.lock b/Cargo.lock index 6d7d2be8..2a76a3a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -405,7 +405,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.4" -source = "git+https://github.com/RustCrypto/traits.git?...
15
15
245
a1206d129e1a312770e507f9f43fb796f460cfa2
Tony Arcieri
2025-06-06T16:25:24
primeorder: update for `BatchInvert` changes (#1234) Companion PR to RustCrypto/traits#1890
diff --git a/Cargo.lock b/Cargo.lock index e734948c..6d7d2be8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -405,8 +405,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.4" -source = "registry+https://github.com/rust-lang/crates....
4
12
8
c1c205d1573f9487c461ed139e836a5fab81e449
Tony Arcieri
2025-06-06T00:34:24
ed448-goldilocks: `bits` feature (#1233) Makes `bits` an optional feature, since it pulls in `bitvec` as a dependency
diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index 440b5485..16c91c80 100644 --- a/ed448-goldilocks/Cargo.toml +++ b/ed448-goldilocks/Cargo.toml @@ -18,7 +18,7 @@ This crate also includes signing and verifying of Ed448 signatures. [dependencies] crypto-bigint = { version = "=0.7.0-pre.4", fe...
3
10
3
1ed7340f8c76ac0ac06342c8ce1b253cae75ab9e
Tony Arcieri
2025-06-05T23:00:56
ed448-goldilocks: remove unused `elliptic-curve` features (#1231) The `jwk` and `sec1` features are unused
diff --git a/ed448-goldilocks/Cargo.toml b/ed448-goldilocks/Cargo.toml index b7c6fda5..440b5485 100644 --- a/ed448-goldilocks/Cargo.toml +++ b/ed448-goldilocks/Cargo.toml @@ -18,7 +18,7 @@ This crate also includes signing and verifying of Ed448 signatures. [dependencies] crypto-bigint = { version = "=0.7.0-pre.4", fe...
1
2
2
e40d1e58aabaeea79b5a8363cddeb88c094c2254
Tony Arcieri
2025-06-05T22:25:41
Bump `elliptic-curve` dependency to v0.14.0-rc.4 (#1232)
diff --git a/Cargo.lock b/Cargo.lock index fffd7a1c..e734948c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -404,8 +404,9 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" -version = "0.14.0-rc.3" -source = "git+https://github.com/RustCrypto/traits#c1...
14
15
15
59c458b031d7582e3a16f768b2b538e7abe7cd17
Tony Arcieri
2025-06-05T17:59:21
Expose `AffineCoordinates::y` (#1230) Companion PR to RustCrypto/traits#1891 which adds access to affine y-coordinates. Notably we've just added an Edwards curve with `ed448-goldilocks`, and these curves use compressed Edwards y-coordinates, so y-coordinate access is needed to even implement point compression generic...
diff --git a/Cargo.lock b/Cargo.lock index ea5cd7be..fffd7a1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -405,8 +405,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.3" -source = "registry+https://github.com/rust-lang/crates....
8
59
23
f85817388b72e5d4d4acb98e266fa86beaefcb1d
daxpedda
2025-06-05T17:14:47
Implement `MultipartSigner/Verifier` (#1221)
diff --git a/bign256/Cargo.toml b/bign256/Cargo.toml index e0587150..16d4f633 100644 --- a/bign256/Cargo.toml +++ b/bign256/Cargo.toml @@ -33,7 +33,7 @@ pkcs8 = { version = "0.11.0-rc.3", optional = true } primefield = { version = "=0.14.0-pre.2", optional = true } primeorder = { version = "=0.14.0-pre.3", optional =...
9
84
18
81adc27635979fb77ad7922fc8dde2fb6f35480a
Arthur Gautier
2025-06-05T15:21:24
workspace: avoid duplicates when pulling dependency from git (#1228) When pulling dependencies using a `patch.crates-io` to a git dependency (for unreleased crates or ...): ``` [dependencies] p224 = "0.14.0-pre" p256 = "0.14.0-pre.4" [patch.crates-io] p224 = { git = "https://github.com/RustCrypto/elliptic-curves.git"...
diff --git a/Cargo.toml b/Cargo.toml index 542d23bf..2d57d49d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,3 +18,7 @@ members = [ [profile.dev] opt-level = 2 + +[patch.crates-io] +primefield = { path = "primefield" } +primeorder = { path = "primeorder" } diff --git a/bign256/Cargo.toml b/bign256/Cargo.toml index...
10
29
25
d0d84f5bcc0ed933d472548e3085f17fdea57f17
Tony Arcieri
2025-06-04T21:18:01
Cargo.lock: bump dependencies (#1227) Updates the following dependencies: $ cargo update Updating crates.io index Locking 29 packages to latest compatible versions Updating base64ct v1.7.3 -> v1.8.0 Updating bitflags v2.9.0 -> v2.9.1 Updating clap v4.5.32 -> v4.5.39 Updating clap_builder ...
diff --git a/Cargo.lock b/Cargo.lock index 6ad73f78..ea5cd7be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,9 +48,9 @@ checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base64ct" -version = "1.7.3" +version = "1.8.0" source = "registry+https://github.com/rust-lang/...
1
71
65
2fe2748eabbf8cfb76072fd5ab71c5d72063364e
Tony Arcieri
2025-06-04T18:10:33
Cargo.toml: alphabetize packages
diff --git a/Cargo.toml b/Cargo.toml index 448a3154..542d23bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,13 +4,13 @@ members = [ "bign256", "bp256", "bp384", + "ed448-goldilocks", "k256", "p192", "p224", "p256", "p384", "p521", - "ed448-goldilocks", "primefiel...
1
1
1
2eeb10961c7cf001a7c77cc41a0e5c3805b6f318
Tony Arcieri
2025-05-31T03:04:37
primefield v0.14.0-pre.2 (#1218) Also cuts releases of: `k256`, `p256`, `p384`, `p521`
diff --git a/Cargo.lock b/Cargo.lock index 9d15d655..3965ee1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -583,7 +583,7 @@ dependencies = [ [[package]] name = "k256" -version = "0.14.0-pre.3" +version = "0.14.0-pre.4" dependencies = [ "blobby", "cfg-if", @@ -727,7 +727,7 @@ dependencies = [ [[package]] nam...
13
31
31