mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
f3c409ee83
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.
RustCrypto: ML-DSA
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.