HomeFreeBSD

crypto: Add support for the XChaCha20-Poly1305 AEAD cipher.

Description

crypto: Add support for the XChaCha20-Poly1305 AEAD cipher.

This cipher is a wrapper around the ChaCha20-Poly1305 AEAD cipher
which accepts a larger nonce. Part of the nonce is used along with
the key as an input to HChaCha20 to generate a derived key used for
ChaCha20-Poly1305.

This cipher is used by WireGuard.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33523

Details

Provenance
jhbAuthored on Jan 11 2022, 10:16 PM
Reviewer
markj
Differential Revision
D33523: crypto: Add support for the XChaCha20-Poly1305 AEAD cipher.
Parents
rG7df4c50643cf: crypto.ko: Add hchacha20 from libsodium.
Branches
Unknown
Tags
Unknown