Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for XChacha20Poly1305 via implementing HChaCha20 #7

Open
mcginty opened this issue Mar 9, 2018 · 1 comment
Open

support for XChacha20Poly1305 via implementing HChaCha20 #7

mcginty opened this issue Mar 9, 2018 · 1 comment

Comments

@mcginty
Copy link

mcginty commented Mar 9, 2018

I'm currently using this library in the Rust userspace implementation of WireGuard, and have found myself shimming a non-optimal HChaCha20 function to meet the spec. It would be great if this library supported it directly!

@mcginty mcginty changed the title support XChacha20Poly1305 support for XChacha20Poly1305 via implementing HChaCha20 Mar 9, 2018
@tarcieri
Copy link

I looked at adding HChaCha20 to this crate, and it's not exactly straightforward as it's not amenable to a SIMD-based implementation. I wound up implementing the entire construction from scratch:

tendermint/tmkms#31

I can try to put in a PR for this crate...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants