660 Commits

Author SHA1 Message Date
Tony Arcieri 344087d63f ecdsa v0.17.0-rc.20 (#1383) 2026-06-17 08:14:46 -06:00
dependabot[bot] 9cabd275ba build(deps): bump zeroize from 1.8.2 to 1.9.0 (#1378) 2026-06-15 12:32:32 -06:00
dependabot[bot] 503829e699 build(deps): bump crypto-primes from 0.7.1 to 0.7.2 (#1377) 2026-06-11 08:41:32 -06:00
dependabot[bot] b508c09e73 build(deps): bump crypto-primes from 0.7.0 to 0.7.1 (#1375) 2026-06-10 12:40:27 -06:00
Tony Arcieri dbc983378f ecdsa v0.17.0-rc.19 (#1376) 2026-06-10 12:25:05 -06:00
Tony Arcieri a8c7206efe rfc6979 v0.6.0-pre.0 (#1373)
The changes in #1360 were breaking, so this release bumps the minor
version.

It might be possible to get some additional breaking changes in as well,
if we can land RustCrypto/crypto-bigint#1266.
2026-06-06 13:00:38 -06:00
Arthur Gautier 332fe968e4 slh-dsa,xmss: replace sha3 with shake (#1359)
Co-authored-by: Tony Arcieri <bascule@gmail.com>
2026-06-06 12:45:41 -06:00
Tony Arcieri 1b47ec5298 dsa: impl Generate for Components and SigningKey (#1372)
This renames the old `SigningKey::generate` to
`try_generate_from_rng_with_components`, having the new one generate
random `Components` with a 3072-bit modulus size, which is now the
`Default` for `KeySize`.
2026-06-06 11:27:17 -06:00
Arthur Gautier 43d9831ccf rfc6979: allow the use of non-block_api-backed hashes (#1360)
Never mind, I'll take care of it
2026-06-06 09:58:40 -06:00
Tony Arcieri d69d20a240 Cargo.lock: bump dependencies 2026-06-05 12:34:37 -06:00
Tony Arcieri f75d5b8299 ml-dsa v0.1.1 (#1371) 2026-06-05 12:32:04 -06:00
dependabot[bot] 63a79f3822 build(deps): bump elliptic-curve from 0.14.0-rc.32 to 0.14.0-rc.33 (#1368) 2026-06-04 09:06:09 -06:00
Tony Arcieri 699547f9c3 ml-dsa v0.1.0 (#1356) 2026-05-17 09:37:36 -06:00
Tony Arcieri 4055f370fd ml-dsa: migrate from sha3 to shake (#1355)
See: RustCrypto/hashes#869
2026-05-16 12:28:18 -06:00
dependabot[bot] 3166358438 build(deps): bump hybrid-array from 0.4.11 to 0.4.12 (#1353) 2026-05-11 17:27:22 -06:00
Tony Arcieri ad600420a1 rfc6979: migrate from subtle to ctutils (#1352)
The usage is an internal implementation detail, so this is not a
breaking change.

See also: RustCrypto/meta#29
2026-05-10 16:43:34 -06:00
Tony Arcieri 59fea640a4 ml-dsa v0.1.0-rc.11 (#1351)
This should be a true "release candidate" in that there are no
additional changes intended to be made before a final release, we're
just waiting for some final feedback on recent changes.
2026-05-10 15:53:13 -06:00
Tony Arcieri 093267c91d ml-dsa: use MaybeBox from module-lattice crate (#1350)
The `MaybeBox` type was moved to `module-lattice` so it could also be
used with the `ml-kem` crate.

See RustCrypto/KEMs#309
2026-05-10 15:12:31 -06:00
Tony Arcieri e3f07e9ce5 ml-dsa: expand usage docs (#1343) 2026-05-09 14:53:34 -06:00
Tony Arcieri 62fa7ac438 ml-dsa: implement KeyInit, KeyExport, KeySizeUser (#1342)
Implements these traits sourced from the `crypto-common` crate.

Also implements the `Generate` trait for key generation, replacing the
previous `KeyGen` trait, which this commit deprecates in favor of using
`KeyInit` and `Generate`.

This also adds a `getrandom` feature that forwards through to
`crypto-common`, making methods available on the `Generate` trait when
enabled.
2026-05-09 14:19:30 -06:00
Tony Arcieri ebe040ee89 rfc6979 v0.5.0 (#1337) 2026-05-06 12:55:52 -06:00
dependabot[bot] 2399f8ae6e build(deps): bump digest from 0.11.2 to 0.11.3 (#1329) 2026-05-06 12:04:03 -06:00
Tony Arcieri 78c2b75436 ed448 v0.5.0 (#1335) 2026-05-06 11:30:51 -06:00
Tony Arcieri 3f353f90ea ed448: use serdect for serde support (#1333)
Like #1324 did for `ed25519`, this uses the `serdect` crate for the
`serde` implementation, which is a breaking change.

See comments in #1324 for more information.
2026-05-06 10:43:42 -06:00
dependabot[bot] 2ac115c5fe build(deps): bump serdect from 0.4.2 to 0.4.3 (#1330) 2026-05-05 15:21:43 -06:00
Tony Arcieri d5012d5ba3 ed25519: add back serde_bytes support (#1332)
Since `serdect` changes the wire format, this should at least provide
backwards compatibility for `serde_bytes` users.
2026-05-05 15:09:40 -06:00
dependabot[bot] a1eb4e0982 build(deps): bump signature from 2.2.0 to 3.0.0 (#1328) 2026-05-04 13:44:28 -06:00
Tony Arcieri f2b087c0f3 ed25519 v3.0.0 (#1327) 2026-05-03 10:28:50 -06:00
Tony Arcieri 01e41793c3 ed25519: remove rand_core dev-dependency (#1325)
It's out-of-date and seemingly unused, possibly tied to the interop
documentation which is currently disabled, but we can cross that bridge
when we get there
2026-05-03 09:54:22 -06:00
Tony Arcieri 3c97f39a05 ed25519: use serdect for serde support (#1324)
Follows suit with `serde` support in other RustCrypto crates by using
`serdect` to implement `Serialize` and `Deserialize`, replacing the
previous use of `serde_bytes`.

These serializers use the `serdect::array` serializers which use
efficient format-specific byte encodings (albeit with a length prefix)
when serializing to binary formats, or a hex encoding with human
readable formats like JSON and TOML.
2026-05-03 09:28:36 -06:00
Tony Arcieri 088a4fe7a4 Bump signature dependency to v3 (#1321)
Release PR: RustCrypto/traits#2400
2026-05-02 15:16:18 -06:00
Tony Arcieri 58bae19939 Cut new prereleases (#1319)
Releases the following, which all now depend either directly or
transitively on `pkcs8` v0.11 (which had breaking changes in the final
release)

- `dsa` v0.7.0-rc.15
- `ecdsa` v0.17.0-rc.18
- `ed25519` v3.0.0-rc.5
- `ed448` v0.5.0-rc.6
- `ml-dsa` v0.1.0-rc.9
- `slh-dsa` v0.2.0-rc.5
- `xmss` v0.1.0-pre.1
2026-04-28 10:08:48 -06:00
Tony Arcieri 2eadc3c766 ml-dsa: bump module-lattice to v0.2.2 (#1318) 2026-04-28 09:36:10 -06:00
Tony Arcieri 452633d33a ecdsa: bump elliptic-curve to v0.14.0-rc.32 (#1317)
This version requires `pkcs8` v0.11
2026-04-28 09:35:52 -06:00
Tony Arcieri 86c035a74f Bump pkcs8 dependency to v0.11 (#1316)
Release PR: RustCrypto/formats#2314
2026-04-28 08:32:20 -06:00
dependabot[bot] f873b8e758 build(deps): bump hybrid-array from 0.4.10 to 0.4.11 (#1314) 2026-04-27 13:09:18 -06:00
Tony Arcieri d8b1875a9f Bump pkcs8 to v0.11.0-rc.12 (#1312) 2026-04-27 13:07:45 -06:00
dependabot[bot] 00e6eed7b2 build(deps): bump typenum from 1.19.0 to 1.20.0 (#1306) 2026-04-27 10:27:46 -06:00
Tony Arcieri f467f70447 ecdsa v0.17.0-rc.17 (#1304) 2026-04-15 13:41:21 -06:00
Tony Arcieri 6752ba4cbe ecdsa: use mul_by_generator_and_mul_add_vartime for verification (#1302)
This high-level method can plug into various strategies for efficiently
implementing `aG + bP`, including using basepoint tables, wNAF, or
linear combinations, depending on what crate features are enabled and
what curve-specific optimizations have been implemented.
2026-04-15 12:49:14 -06:00
Tony Arcieri a9b80562a9 Cargo.lock: bump deps (#1299) 2026-04-14 08:47:04 -06:00
dependabot[bot] 8cb1795140 build(deps): bump elliptic-curve from 0.14.0-rc.29 to 0.14.0-rc.30 (#1292) 2026-04-09 08:47:57 -06:00
Tony Arcieri 66473ecba8 xmss: bump format dependencies (#1290)
Bumps the following dependencies:

- `const-oid` v0.10
- `der` v0.8
- `pkcs8` v0.11.0-rc.11
- `spki` v0.8
2026-04-06 14:16:17 -06:00
Arthur Gautier d011b9a356 ml-dsa: make PartialEq for ExpandedSigningKey constant time (#1286) 2026-04-03 16:58:36 -06:00
dependabot[bot] f282377eb6 build(deps): bump ctutils from 0.4.0 to 0.4.2 (#1285) 2026-04-03 09:01:18 -06:00
Tony Arcieri fc8907dde0 Bump sha3 dependency to v0.11 (#1283)
Release PR: RustCrypto/hashes#816
2026-04-03 08:34:07 -06:00
Tony Arcieri 76822a8af0 bign-genk v0.1.0-pre.0 (#1282) 2026-04-02 22:42:04 -06:00
dependabot[bot] 902819d431 build(deps): bump hybrid-array from 0.4.9 to 0.4.10 (#1279) 2026-04-01 16:33:27 -06:00
dependabot[bot] 6fd15b6f05 build(deps): bump belt-hash from 0.2.0-rc.5 to 0.2 (#1277) 2026-03-30 10:24:20 -06:00
dependabot[bot] 5c5d8740f4 build(deps): bump hybrid-array from 0.4.8 to 0.4.9 (#1276) 2026-03-30 10:11:59 -06:00