[noise] nyquist - Yet another Noise Protocol Framework implementation

Yawning Angel yawning at schwanenlied.me
Mon Aug 19 03:43:32 PDT 2019


Hello,

On 8/19/19 9:48 AM, Jason A. Donenfeld wrote:
> Hey Yawning,
> 
> Nice work. If you're interested, WireGuard has test vectors using a
> few of the Noise libraries. Here's an existing one in Go:
> 
> https://git.zx2c4.com/WireGuard/tree/contrib/external-tests/go/main.go
> 
> Perhaps you'd like to see if swapping out titanous' implementation for
> your own in here can still complete a handshake and exchange pings
> with the WireGuard demo box.

Thank you for the suggestion.  Since this is more exciting than what I'm
supposed to be doing right now, I went and tried this.  A diff showing
the changes is attached.

The process lead to adding a convenience method to the DH abstraction,
which should streamline dealing with binary encoded private keys a tad bit.

The public interface of nyquist vs the existing Noise implementation
isn't all that different, so the changes are quite short.

Regards,

-- 
Yawning Angel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-contrib-external-tests-go-Use-nyquist-for-the-Noise-.patch
Type: text/x-patch
Size: 5662 bytes
Desc: not available
URL: <http://moderncrypto.org/mail-archive/noise/attachments/20190819/ef2e28d8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://moderncrypto.org/mail-archive/noise/attachments/20190819/ef2e28d8/attachment.sig>


More information about the Noise mailing list