[noise] New test vectors

Rhys Weatherley rhys.weatherley at gmail.com
Tue May 17 01:47:14 PDT 2016


Hi all!

I wrote a Noise vector generator for Noise-C over the last few days based
on the v29 draft specification.  Here are my vectors:

https://raw.githubusercontent.com/rweather/noise-c/master/tests/vector/noise-c-basic.txt
https://raw.githubusercontent.com/rweather/noise-c/master/tests/vector/noise-c-ssk.txt

The main differences to Alex's excellent cacophony.txt are:

* PSK and SSK values are 32 bytes.
* New tag "handshake_hash" that specifies the expected handshake hash for
both sides at the end of a successful handshake.
* New tags "init_ssk" and "resp_ssk" to specify the SSK values for each
side of the communication.

I'm working on some other vectors for Noise Pipes, namely for starting
communications in IK and then transitioning to XXfallback.  IK and XX
scenarios without fallback are already covered by the current vectors.

If there are any interoperability problems with the new vectors, please let
me know.

Cheers,

Rhys.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://moderncrypto.org/mail-archive/noise/attachments/20160517/95408559/attachment.html>


More information about the Noise mailing list