Working on a Rust implementation, and request for test vectors
sopium at mysterious.site
Tue Feb 21 07:07:25 CET 2017
Hello list and Jason,
I'd like to tell you that I have started working on a Rust
implementation of WireGuard (actually to make my TiTun program
compatible with WireGuard).
I have already implemented the Noise part in noise-rust. It is a
rewrite of screech, with hopefully better API, documentation, testing
and overall quality. Issues like  and  should have been
solved. I wish noise-rust would be helpful for those who want to
implement WireGuard (or other Noise based protocols) in Rust.
I plan to implement the rest of the WireGuard protocol in the
following weeks. (Well, no promises.) You are welcome to join the
effort, of course.
Jason, can you generate and provide some test vectors for WireGuard?
E.g. for the less widely used or less clearly defined primitives, like
HMAC-BLAKE2s and XChaCha20Poly1305. And for whole handshake and
transportation sessions. And for cookie reply packet generation. That
should greatly help ensure interoperability between different WireGuard
More information about the WireGuard