Howto implement chacha20-poly1305?
Stef Bon
stefbon at gmail.com
Mon Nov 28 23:23:47 CET 2016
2016-11-28 22:01 GMT+01:00 Stef Bon <stefbon at gmail.com>:
>> Then use gcry_cipher_gettag/gcry_cipher_checktag for retrieving/checking
>> tag.
>>
>> It is an AEAD cipher mode, so there is no separate encryption and separate
>> MAC.
>
> Ah. Thanks a lot!
Do I have to decrypt and encrypt in a special way as described here:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.chacha20poly1305?annotate=HEAD
Stef
More information about the Gcrypt-devel
mailing list