#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

#2764 in Cryptography

Download history 20743/week @ 2024-12-18 10209/week @ 2024-12-25 26821/week @ 2025-01-01 40665/week @ 2025-01-08 41694/week @ 2025-01-15 33633/week @ 2025-01-22 35755/week @ 2025-01-29 42119/week @ 2025-02-05 42322/week @ 2025-02-12 47255/week @ 2025-02-19 42845/week @ 2025-02-26 42417/week @ 2025-03-05 51148/week @ 2025-03-12 47920/week @ 2025-03-19 39290/week @ 2025-03-26 38352/week @ 2025-04-02

184,571 downloads per month
Used in 149 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