#encryption #aead

no-std mgm

Generic implementation of the Multilinear Galois Mode (MGM) cipher

14 releases

Uses new Rust 2021

0.5.0-pre.1 Jul 2, 2022
0.4.6 Sep 1, 2021
0.4.5 Aug 26, 2021
0.4.3 Jul 20, 2021
0.0.0 Jul 13, 2020

#14 in #aead

Apache-2.0 OR MIT

32KB
743 lines

RustCrypto: Multilinear Galois Mode

crate Docs Apache2/MIT licensed Rust Version CodeCov Status Project Chat Build Status

Pure Rust implementation of the Multilinear Galois Mode (MGM): an Authenticated Encryption with Associated Data (AEAD) algorithm generic over block ciphers with block size equal to 128 bits.

Security Notes

No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.

USE AT YOUR OWN RISK!

License

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.

Dependencies

~320–520KB
~12K SLoC