[noise] [Noise] Go implementation

Trevor Perrin trevp at trevp.net
Fri Jul 4 23:52:49 PDT 2014


Nice!, that's the first time anyone's coded any of this.

It looks like you interpreted this line as returning a single cipher
context (cc), whereas it was intended to return a cipher context *and*
a chaining variable (cv):

cv1, cc1 = KDF(dh1, cv, SUITE_NAME || kdf_num, CV_LEN + CC_LEN)

Maybe that would be clearer if written like:

cv1 || cc1 = KDF(dh1, cv, SUITE_NAME || kdf_num, CV_LEN + CC_LEN)

?

Trevor








Trevor

On Wed, Jul 2, 2014 at 11:57 PM, Jonathan Rudenberg
<jonathan at titanous.com> wrote:
> I pushed a hacked together implementation of the current specification of Noise255 boxes in Go: https://github.com/titanous/noise/blob/master/box/box.go
>
> It’s successfully round-tripping data, but needs a bunch of cleanup and might be incorrect. I’ll continue to track changes to the wiki and probably get to pipes in the next little while.
>
> I’d be interested to see someone else do another implementation without looking at mine so that we can confirm that I didn’t misunderstand the docs.
>
> Jonathan
> _______________________________________________
> noise mailing list
> noise at moderncrypto.org
> https://moderncrypto.org/mailman/listinfo/noise


More information about the Noise mailing list