[noise] Disco objects (was Re: spectemplate / spectools)

David Wong davidwong.crypto at gmail.com
Mon Nov 20 10:33:51 PST 2017


> The Strobe spec already defines its operations (PRF, AD, recv_ENC,
> etc), It still seems like you're unnecessarily repeating those
> definitions in StrobeState.

I'll see how I can change this without looking like these functions
appear from nowhere. Maybe just listing them separated with commas.


>>>  * A single "DiscoCipherState" that re-implements all the CipherState functions
>>
>> See my thoughts on why I didn't do this in "[noise] spectemplate /
>> spectools" on the list.
>
> I don't see there why you can't have a "DiscoCipherState" or
> "DiscoSecureChannel" that implements the CipherState API exactly.

OK I removed the DiscoSecureChannel and it is now just re-defining the
CipherState object.
Looks clearer like this you were right.

David


More information about the Noise mailing list