chacha20-poly1305-aead
chacha20-poly1305-aead copied to clipboard
support for XChacha20Poly1305 via implementing HChaCha20
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!
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...