martindisch / aes-ccm Goto Github PK
View Code? Open in Web Editor NEWRust port of TinyCrypt's CCM mode implementation using RustCrypto's AES
License: Other
Rust port of TinyCrypt's CCM mode implementation using RustCrypto's AES
License: Other
I just recently published the ccm
crate. In addition to the tag size, it also supports variable nonce sizes. It successfully passes RFC 3610, NIST SP 800-38C and CAVP tests, the only untested branch is one responsible for authenticated data larger than 4 GiB.
When I include aes-ccm = "0.5.0"
to my dependencies and try to build my project I am getting:
error: failed to select a version for the requirement `aes-soft = "^0.4"`
candidate versions found which didn't match: 0.99.99, 0.6.4, 0.6.3, ...
location searched: crates.io index
required by package `aes v0.4.0`
... which satisfies dependency `aes = "^0.4.0"` of package `aes-ccm v0.5.0`
... which satisfies dependency `aes-ccm = "^0.5.0"` of package `gsce v0.1.0 (/home/stefan/workspaces/eriptic/gsce)`
How to fix that?
Hello! Glad to see there's a Rust implementation of aes-ccm
, which I may consider using soon for a particular project.
The aead
crate provides traits which abstract over various AEAD modes:
https://github.com/RustCrypto/traits/tree/master/aead
Namely the Aead
(and AeadMut
) traits:
https://docs.rs/aead/latest/aead/trait.Aead.html
As of the 0.2 release, they now support an optional alloc
feature (in addition to always being #![no_std]
) along with a heapless
feature to support usage in heapless (e.g. microcontroller) environments.
Is this something you'd be interested in using? If so, I can send a PR.
Do you plan on supporting Aes256?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.