HomeFreeBSD

ktls: Add simple transmit tests of kernel TLS.

Description

ktls: Add simple transmit tests of kernel TLS.

Note that these tests test the kernel TLS functionality directly.
Rather than using OpenSSL to perform negotiation and generate keys,
these tests generate random keys send data over a pair of TCP sockets
manually decrypting the TLS records generated by the kernel.

Reviewed by: markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D32652

(cherry picked from commit a10482ea7476d68d1ab028145ae6d97cef747b49)

Details

Provenance
jhbAuthored on Nov 1 2021, 6:28 PM
Reviewer
markj
Differential Revision
D32652: ktls: Add simple transmit tests of kernel TLS.
Parents
rG81b6dba1a08b: ktls: Fix assertion for TLS 1.0 CBC when using non-zero starting seqno.
Branches
Unknown
Tags
Unknown