Files
RustCrypto-signatures/ml-dsa
Tony Arcieri f3c409ee83 ml-dsa: add internal MaybeBox type (#1320)
Adds an internal type for opportunistic heap offload which uses `Box`
when the `alloc` feature is available and falls back to stack allocation
when it is not.

So far it's only used for the `z` component of `Signature` but is useful
elsewhere, e.g. for `VerifyingKey`.

It's so generally useful it should probably get extracted somewhere, to
`module-lattice` at the very least, but this is enough to get started.
2026-04-30 11:13:41 -06:00
..
2026-04-28 10:08:48 -06:00
2025-04-10 08:52:52 +09:00
2025-02-13 12:59:09 -07:00
2025-09-03 15:39:16 -06:00

RustCrypto: ML-DSA

crate Docs Build Status Apache2/MIT licensed MSRV Project Chat

Pure Rust implementation of the Module-Lattice-Based Digital Signature Standard (ML-DSA) as described in the FIPS 204 (final).

About

ML-DSA was formerly known as CRYSTALS-Dilithium.

⚠️ Security Warning

The implementation contained in this crate has never been independently audited!

USE AT YOUR OWN RISK!

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.