GithubHelp home page GithubHelp logo

aes-ccm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aes-ccm's Issues

Make this crate a wrapper around the ccm crate?

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.

error: failed to select a version for the requirement `aes-soft = "^0.4"`

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?

Consider using traits from the `aead` crate?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.