[noise] Noise test vector format

Trevor Perrin trevp at trevp.net
Thu Nov 12 10:25:18 PST 2015


On Thu, Nov 12, 2015 at 10:09 AM, Alex <alex at centromere.net> wrote:
> On Tue, 10 Nov 2015 19:08:51 -0800
> Trevor Perrin <trevp at trevp.net> wrote:
>
>> Below's a simple text format for test vectors.  An implementation
>> could scan a file full of tests and and check any handshakes it
>> supports.  For example:
>>
>> random_i=<hex>
>> random_r=<hex>
>
> Won't you need need four? initiator/responder and static/ephemeral.

I was imagining random bytes are taken sequentially, so as long as
random_i is long enough it would be used for the static, then
ephemeral, and other random fields if we add those.

Trevor

>
> --
> Alex


More information about the Noise mailing list