]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add Chacha20-Poly1305 as a KTLS cipher suite.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 18 Feb 2021 17:23:59 +0000 (09:23 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 18 Feb 2021 17:26:32 +0000 (09:26 -0800)
commit9c64fc40290e08f6dc6b75aa04084b04e48a61af
tree637b5142a7556eb4928643ca0a932db5a615bf0d
parent1bd9fc96d4e4a26bb0060698c07b6f13d19cd819
Add Chacha20-Poly1305 as a KTLS cipher suite.

Chacha20-Poly1305 for TLS is an AEAD cipher suite for both TLS 1.2 and
TLS 1.3 (RFCs 7905 and 8446).  For both versions, Chacha20 uses the
server and client IVs as implicit nonces xored with the record
sequence number to generate the per-record nonce matching the
construction used with AES-GCM for TLS 1.3.

Reviewed by: gallatin
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D27839
sys/kern/uipc_ktls.c
sys/sys/ktls.h