[noise] [Noise] Go implementation

Trevor Perrin trevp at trevp.net
Sun Jul 6 12:45:55 PDT 2014


On Sun, Jul 6, 2014 at 9:38 AM, Jonathan Rudenberg
<jonathan at titanous.com> wrote:
> Yep, forgot to cc the list.
>
> I noticed a similar line on the Pipes page:
>
> cc_client, cc_server = KDF(cv_h2, zeros[CV_LEN], SUITE_NAME || 6, CC_LEN * 2)
>
> that could be changed to
>
> cc_client || cc_server …

Thanks, got it.

The KDF logic in your deriveKey() could be clearer.  Also, KDFNum is
just a uint8, and I think incrementing it every time won't work if the
Crypter is reused, maybe the spec should be clearer on kdf_num in some
way...


Trevor


More information about the Noise mailing list