Howto implement chacha20-poly1305?

Jussi Kivilinna jussi.kivilinna at iki.fi
Wed Nov 30 20:53:57 CET 2016


On 30.11.2016 17:25, Werner Koch wrote:
> On Tue, 29 Nov 2016 17:56, jussi.kivilinna at iki.fi said:
> 
>> which libgcrypt implements. Problem is that OpenSSH add
>> chacha20-poly1305 support based on early draft-RFC and there was
>> change to data padding later in the draft series.
> 
> Given that OpenSSH is a cornerstone of our all infrastructure, what
> about also adding the draft mode to libgcrypt 1.8?  Do we have someone
> who could do that?
> 

I was thinking of same too. I can do it. Draft mode selection would
happen with new gcry_cipher_open flag, maybe GCRY_CIPHER_POLY1305_DRAFT
or GCRY_CIPHER_POLY1305_OPENSSH.

-Jussi




More information about the Gcrypt-devel mailing list