#mac #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

#2534 in Cryptography

Download history 37265/week @ 2024-12-05 44649/week @ 2024-12-12 15430/week @ 2024-12-19 10344/week @ 2024-12-26 31966/week @ 2025-01-02 42038/week @ 2025-01-09 40993/week @ 2025-01-16 33327/week @ 2025-01-23 35202/week @ 2025-01-30 45850/week @ 2025-02-06 38377/week @ 2025-02-13 47816/week @ 2025-02-20 46538/week @ 2025-02-27 44388/week @ 2025-03-06 47870/week @ 2025-03-13 39027/week @ 2025-03-20

184,503 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