[noise] Test vectors

Alex alex at centromere.net
Mon Nov 16 08:30:15 PST 2015


On Mon, 16 Nov 2015 00:34:56 -0800
Trevor Perrin <trevp at trevp.net> wrote:

> On Sun, Nov 15, 2015 at 7:57 PM, Alex <alex at centromere.net> wrote:
> > Attached are test vectors for the *_25519_ChaChaPoly_SHA256 family
> > of handshakes. These were generated by cacophony[1] and verified by
> > screech.  
> 
> We'll need to add a prologue and preshared_key option.  Also, I assume
> I can change the initialization keys within the file, not just at the
> start?
> 

The initiator (init_static) and responder (resp_static, resp_ephemeral)
keys are listed at the top of the file to simplify the logic of my test
vector generation program. The format should handle changing them on a
per-handshake basis like you suggest, but I did it this way for
expediency.

-- 
Alex


More information about the Noise mailing list