MultiplyNtt trait from module-lattice (#1190)
Previously Algorithm 45: `MultiplyNTT` from FIPS 204 was implemented in the `module-lattice` crate, but for `ml-kem` we need to plug in Algorithm 11: `MultiplyNTTs` from FIPS 203 instead, so `module-lattice` now defines a new `MultiplyNTT` trait that lets either crate plug in their own algorithm that will also work with the `Mul` impls on `NttVector` and `NttMatrix`. This adds a temporary git dependency on `module-lattice` until it gets another crate release.
RustCrypto: Signatures

Support for digital signatures, which provide authentication of data using public-key cryptography.
All algorithms reside in the separate crates and implemented using traits from
the signature crate.
Crates are designed so they do not require the standard library (i.e. no_std)
and can be easily used for bare-metal or lightweight WebAssembly programming.
Crates
| Name | Algorithm | Crates.io | Documentation | Build |
|---|---|---|---|---|
dsa |
Digital Signature Algorithm | |||
ecdsa |
Elliptic Curve DSA | |||
ed25519 |
EdDSA for Curve25519 | |||
ed448 |
EdDSA for Curve448 | |||
lms |
Leighton-Micali Signature | |||
ml-dsa |
Module Lattice DSA | |||
rfc6979 |
Deterministic (EC)DSA Signatures | |||
slh-dsa |
Stateless Hash-Based Signature |
NOTE: for RSA signatures see https://github.com/RustCrypto/RSA
Usage
Crates functionality is expressed in terms of traits defined in the signature
crate.
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.