HomeFreeBSD

Add an implementation of CHACHA20_POLY1305 to cryptosoft.

Description

Add an implementation of CHACHA20_POLY1305 to cryptosoft.

This uses the chacha20 IETF and poly1305 implementations from
libsodium. A seperate auth_hash is created for the auth side whose
Setkey method derives the poly1305 key from the AEAD key and nonce as
described in RFC 8439.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D27837

(cherry picked from commit dd2e1352b68aa33f7f6f8c19aaf88cf287013ae8)

Details

Provenance
jhbAuthored on Feb 18 2021, 5:22 PM
Differential Revision
D27837: Add an implementation of CHACHA20_POLY1035 to cryptosoft.
Parents
rGec3872a696a9: Add an OCF algorithm for ChaCha20-Poly1305 AEAD.
Branches
Unknown
Tags
Unknown