#encryption #aead #block-cipher #block-size #mode #counter #data

no-std ccm

Generic implementation of the Counter with CBC-MAC (CCM) mode

11 unstable releases

0.5.0 Jul 30, 2022
0.5.0-pre.1 Jul 2, 2022
0.4.4 Jul 20, 2021
0.4.0 Apr 29, 2021
0.0.0 Jun 3, 2020

#2444 in Cryptography

Download history 41503/week @ 2023-12-11 31315/week @ 2023-12-18 10554/week @ 2023-12-25 19492/week @ 2024-01-01 23535/week @ 2024-01-08 23707/week @ 2024-01-15 24481/week @ 2024-01-22 32479/week @ 2024-01-29 27795/week @ 2024-02-05 27206/week @ 2024-02-12 16309/week @ 2024-02-19 16153/week @ 2024-02-26 15531/week @ 2024-03-04 15422/week @ 2024-03-11 14774/week @ 2024-03-18 15061/week @ 2024-03-25

61,823 downloads per month
Used in 85 crates (14 directly)

Apache-2.0 OR MIT

245KB
301 lines

RustCrypto: CCM

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

Pure Rust implementation of the Counter with CBC-MAC (CCM) mode (RFC 3610): an Authenticated Encryption with Associated Data (AEAD) algorithm generic over block ciphers with block size equal to 128 bits.

Documentation

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

~405–690KB
~14K SLoC