chacha20-poly1305-aead icon indicating copy to clipboard operation
chacha20-poly1305-aead copied to clipboard

support for XChacha20Poly1305 via implementing HChaCha20

Open mcginty opened this issue 6 years ago • 1 comments

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 avatar Mar 09 '18 14:03 mcginty

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:

https://github.com/tendermint/kms/pull/31

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

tarcieri avatar Jun 21 '18 13:06 tarcieri