[noise] Aligning with Chrome and IETF's ChaCha20/Poly1305

Trevor Perrin trevp at trevp.net
Mon Jul 14 00:14:00 PDT 2014


Nice!, looks like you got everything.

(I found handling of the keystream buffer a little hard to follow, I'm
not sure why that needs to be part of noise255Ctx, instead of stored
in local vars?)

Trevor


On Sun, Jul 13, 2014 at 11:45 PM, Jonathan Rudenberg
<jonathan at titanous.com> wrote:
>
> On Jul 13, 2014, at 11:41 PM, Jonathan Rudenberg <jonathan at titanous.com> wrote:
>
>> On Jul 13, 2014, at 12:26 AM, Trevor Perrin <trevp at trevp.net> wrote:
>>
>>> I changed a few things to align with ChaCha20/Poly1305 as in Google
>>> Chrome and IETF drafts (sorry Stephen and Jonathan!, but these should
>>> be easy changes):
>>
>> Here are the changes to my implementation: https://github.com/titanous/noise/compare/2c83ac5...d3253d3
>
> Just realized I forgot to skip the first block when rekeying. Updated diff: https://github.com/titanous/noise/compare/2c83ac5...8f09b6f
>


More information about the Noise mailing list