[noise] Test vector format

Trevor Perrin trevp at trevp.net
Sun Apr 10 21:18:46 PDT 2016

On Sun, Apr 10, 2016 at 8:41 PM, Alex <alex at centromere.net> wrote:
> On Sun, 10 Apr 2016 20:33:15 -0700
> Trevor Perrin <trevp at trevp.net> wrote:
>> Yeah, that sounds fine: so if "fail: true" you omit the "payload" from
>> the message object, and processing the ciphertext is expected to
>> produce an error.
> Yes. There are a few edge cases though:
>  - What happens if "fail" is set to false and a payload is omitted?

Malformed test?

>  - What happens if decryption succeeds despite "fail: true" and the
>    payload being omitted?

The implementation failed the test.


More information about the Noise mailing list