111 Commits

Author SHA1 Message Date
dependabot[bot] 6618db4e48 build(deps): bump crate-ci/typos from 1.46.0 to 1.47.0 (#1366) 2026-06-06 07:12:36 -06:00
Tony Arcieri a39b5af547 CI: add workspace-level doc check (#1348)
Ensures the docs for all crates build without warnings
2026-05-09 17:02:21 -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
dependabot[bot] b60664ed3c build(deps): bump crate-ci/typos from 1.45.0 to 1.46.0 (#1331) 2026-05-04 14:16:34 -06:00
Tony Arcieri 2d7866fa4c ed25519: configure and apply workspace-level lints (#1323)
Adds the workspace-level config from RustCrypto/utils#1411 to this
repo and applies it to `ed25519`.
2026-05-02 21:21:26 -06:00
dependabot[bot] 37f9be5bca build(deps): bump actions/checkout from 5.0.1 to 6.0.2 (#1289) 2026-04-06 08:52:04 -06:00
dependabot[bot] a031db91a4 build(deps): bump crate-ci/typos from 1.44.0 to 1.45.0 (#1288) 2026-04-06 08:40:58 -06:00
dependabot[bot] 6054a76564 build(deps): bump actions/checkout from 5 to 6 (#1278) 2026-03-30 10:10:42 -06:00
Alexandr Kitaev 32e80942ca bign-genk: Initial implementation (#1109)
See §6.3.3 of https://apmi.bsu.by/assets/files/std/bign-spec295.pdf
2026-03-27 10:37:22 -06:00
dependabot[bot] f2a7431e09 build(deps): bump crate-ci/typos from 1.43.4 to 1.44.0 (#1239) 2026-03-26 13:20:35 -06:00
dependabot[bot] 8d862f25c2 build(deps): bump actions/upload-artifact from 6 to 7 (#1240) 2026-03-26 13:20:15 -06:00
dependabot[bot] 6850f5a17c build(deps): bump Swatinem/rust-cache from 2.8.2 to 2.9.1 (#1254) 2026-03-20 10:40:08 -06:00
Michael Lodder c2a39b803b feat(xmss): Add XMSS (#1228) 2026-03-03 10:42:27 -07:00
dependabot[bot] ee1f61db97 build(deps): bump actions/download-artifact from 7 to 8 (#1241) 2026-03-02 09:08:01 -07:00
dependabot[bot] 210ca157db build(deps): bump dtolnay/rust-toolchain from f7ccc83 to stable (#1226)
These hash bumps just add noise to the repo. The usage here is non-sensitive.
2026-02-17 15:57:28 -07:00
dependabot[bot] 2d0ac47249 build(deps): bump crate-ci/typos from 1.42.0 to 1.43.4 (#1215) 2026-02-11 14:36:06 -07:00
Tony Arcieri 62b3f69372 Add Trusted Publishing config (#1218) 2026-02-11 14:35:27 -07:00
dependabot[bot] f754fb442d build(deps): bump actions/upload-artifact from 4.6.2 to 6.0.0 (#1203) 2026-02-02 10:15:39 -07:00
dependabot[bot] 8c00cdce43 build(deps): bump Swatinem/rust-cache from 2.7.8 to 2.8.2 (#1202) 2026-02-02 10:08:29 -07:00
dependabot[bot] 287b108247 build(deps): bump dtolnay/rust-toolchain (#1204) 2026-02-02 09:58:45 -07:00
dependabot[bot] 9a76466e6f build(deps): bump actions/checkout from 4.2.2 to 6.0.2 (#1201) 2026-02-02 09:54:51 -07:00
Scott Arciszewski f980f8ba86 ml-dsa, ci: add mutation testing and improve test coverage (#1193) 2026-01-30 08:14:42 -07:00
Tony Arcieri b2bffe5fc7 ml-dsa: initial Wycheproof test vectors (#1175)
Uses a similar strategy to `rsa`, cloning the Wycheproof test vectors as
a submodule and parsing the JSON files directly (I tried to use
`wycheproof2blb` and it seems really out of date).

Adds the following as an initial integration:
- `mldsa_44_sign_seed_test`
- `mldsa_65_sign_seed_test`
- `mldsa_87_sign_seed_test`
2026-01-25 16:41:24 -07:00
dependabot[bot] 1633795f9a build(deps): bump crate-ci/typos from 1.41.0 to 1.42.0 (#1147) 2026-01-12 11:28:10 -07:00
dependabot[bot] 85a0930103 build(deps): bump crate-ci/typos from 1.40.0 to 1.41.0 (#1138) 2026-01-07 13:29:27 -07:00
dependabot[bot] b2be6f5c56 build(deps): bump actions/checkout from 5 to 6 (#1113) 2025-12-29 10:10:31 -07:00
dependabot[bot] de9aabc14b build(deps): bump crate-ci/typos from 1.39.0 to 1.40.0 (#1114) 2025-12-29 09:45:21 -07:00
Tony Arcieri 5080928121 CI: fix security audit (#1121) 2025-12-24 13:01:31 -07:00
dependabot[bot] a155ad8acc build(deps): bump actions/cache from 4 to 5 (#1118) 2025-12-16 06:31:18 -07:00
dependabot[bot] 936f221980 build(deps): bump actions/download-artifact from 6 to 7 (#1117) 2025-12-16 06:30:56 -07:00
dependabot[bot] 9c0936f04a build(deps): bump actions/upload-artifact from 5 to 6 (#1119) 2025-12-16 06:30:40 -07:00
dependabot[bot] 1ec7047fb2 build(deps): bump actions/upload-artifact from 4 to 5 (#1090) 2025-11-21 18:43:53 -07:00
Tony Arcieri 9fe087a8e9 ecdsa: add getrandom feature (#1107)
Adds a `getrandom` feature which allows infallible generation of
`SigningKey`s using the system's cryptographically secure RNG.

Proxies through to the newly added `getrandom` feature in the
`elliptic-curve` crate: RustCrypto/traits#2085
2025-11-09 13:38:04 -07:00
dependabot[bot] f532d89e5e build(deps): bump crate-ci/typos from 1.38.1 to 1.39.0 (#1096) 2025-11-05 17:32:45 -07:00
dependabot[bot] 5653f1df3f build(deps): bump actions/download-artifact from 5 to 6 (#1091) 2025-11-05 08:44:19 -07:00
Arthur Gautier b58f47a4b2 ml-dsa: run tests on no_std targets (#1080) 2025-10-20 08:16:30 -06:00
Tony Arcieri b383808ccf CI: bump typos to v1.38.1 (#1084) 2025-10-19 09:08:34 -06:00
dependabot[bot] b64842478f build(deps): bump crate-ci/typos from 1.35.1 to 1.36.2 (#1061) 2025-09-13 10:09:35 -06:00
dependabot[bot] 03bd8261cf build(deps): bump actions/download-artifact from 4 to 5 (#1036) 2025-09-01 17:27:56 -06:00
dependabot[bot] d4b06ddca4 build(deps): bump actions/checkout from 4 to 5 (#1038) 2025-09-01 17:27:31 -06:00
Charles Edward Gagnon 64547a82e4 Only run CI on latest commit of PR branches (#1033) 2025-08-05 18:44:18 -06:00
dependabot[bot] 282873b764 build(deps): bump crate-ci/typos from 1.34.0 to 1.35.1 (#1027) 2025-08-04 14:10:47 -06:00
dependabot[bot] 1c74c2b6fa build(deps): bump crate-ci/typos from 1.33.1 to 1.34.0 (#1009) 2025-07-03 14:30:35 -06:00
Arthur Gautier 310df4ab2a workspace: check for typos in CI (#1001) 2025-06-19 12:19:00 -06:00
Arthur Gautier 8f770af1a2 dsa: migrate to crypto-bigint (#906)
Closes #779
2025-04-23 11:30:26 -06:00
Jason Gerard DeRose 0dd107bed6 ml-dsa: cargo test with --no-default-features in workflow (#932)
Also fix `rand::thread_rng()` --> `rand::rng()` warning in doctest

Co-authored-by: Richard Barnes <rlb@ipv.sx>
2025-04-15 11:05:08 -06:00
Jason Gerard DeRose 5f44af42ac slh-dsa: fix benchmark to also run verify_benches() (#928) 2025-04-07 10:04:09 +09:00
Tony Arcieri 8de0caff46 CI: fix security audit (#924)
Ignores RUSTSEC-2024-0436: `paste` is unmaintained
2025-03-09 12:08:24 -06:00
Jason Gerard DeRose af0860737e ml-dsa: cargo build --benches in github workflow (#922) 2025-03-08 09:24:38 -07:00
Arthur Gautier 0e69f92b56 Upgrade all crates to the 2024 edition and bump MSRV to 1.85 (#913) 2025-02-28 20:12:00 -05:00