[noise] Noise test vector format

Trevor Perrin trevp at trevp.net
Thu Nov 12 11:04:32 PST 2015


On Thu, Nov 12, 2015 at 10:31 AM, Alex <alex at centromere.net> wrote:
> On Thu, 12 Nov 2015 10:25:18 -0800
> Trevor Perrin <trevp at trevp.net> wrote:
>>
>> 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.
>>
>
> But then it's ambiguous (from looking at the format alone) which key
> comes first (static vs. ephemeral). I think it would be more readable
> to have four 32-byte values (assuming Curve25519) rather than raw
> output from a RNG.

Maybe, sounds reasonable - if you write this tool first, people will
probably follow your lead on minor points like this.

Treor


More information about the Noise mailing list