HomeFreeBSD

cryptocheck: Add Chacha20-Poly1305 AEAD coverage.

Description

cryptocheck: Add Chacha20-Poly1305 AEAD coverage.

  • Make openssl_gcm_encrypt generic to AEAD ciphers (aside from CCM) and use it for Chacha20-Poly1305.
  • Use generic AEAD control constants instead of GCM/CCM specific names.

Reviewed by: cem
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D27838

(cherry picked from commit 1bd9fc96d4e4a26bb0060698c07b6f13d19cd819)

Details

Provenance
jhbAuthored on Feb 18 2021, 5:23 PM
Reviewer
cem
Differential Revision
D27838: cryptocheck: Add Chacha20-Poly1305 AEAD coverage.
Parents
rGd5cbcae312e7: Add an implementation of CHACHA20_POLY1305 to cryptosoft.
Branches
Unknown
Tags
Unknown