#mac #cmac #omac

no-std cmac

Generic implementation of Cipher-based Message Authentication Code

15 releases (8 breaking)

Uses new Rust 2024

0.8.0-pre.3 Mar 7, 2025
0.8.0-pre.2 Aug 14, 2024
0.8.0-pre.1 Jul 27, 2024
0.7.2 Mar 14, 2023
0.0.0 Jul 22, 2017

#2761 in Cryptography

Download history 41875/week @ 2025-01-12 33954/week @ 2025-01-19 36558/week @ 2025-01-26 37607/week @ 2025-02-02 44234/week @ 2025-02-09 38810/week @ 2025-02-16 49955/week @ 2025-02-23 42059/week @ 2025-03-02 49768/week @ 2025-03-09 44355/week @ 2025-03-16 43240/week @ 2025-03-23 40438/week @ 2025-03-30 47000/week @ 2025-04-06 55849/week @ 2025-04-13 68533/week @ 2025-04-20 47311/week @ 2025-04-27

220,453 downloads per month
Used in 152 crates (27 directly)

MIT/Apache

47KB
193 lines

RustCrypto: CMAC

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

Pure Rust implementation of the Cipher-based Message Authentication Code (CMAC).

Documentation

Minimum Supported Rust Version

Rust 1.81 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

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

~765KB
~19K SLoC