HomeFreeBSD

OpenSSL: KTLS: Enable KTLS for receiving as well in TLS 1.3

Description

OpenSSL: KTLS: Enable KTLS for receiving as well in TLS 1.3

This removes a guard condition that prevents KTLS being enabled for
receiving in TLS 1.3. Use the correct sequence number and BIO for
receive vs transmit offload.

Approved by: jkim
Obtained from: OpenSSL commit 7c78932b9a4330fb7c8db72b3fb37cbff1401f8b
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D34976

(cherry picked from commit 913616b88505b2a5ff40f3d0a4b504d39ee563bb)

Details

Provenance
jhbAuthored on May 4 2022, 8:08 PM
Differential Revision
D34976: OpenSSL: KTLS: Enable KTLS for receiving as well in TLS 1.3
Parents
rG44aacbc98185: OpenSSL: KTLS: Handle TLS 1.3 in ssl3_get_record.
Branches
Unknown
Tags
Unknown