]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ktls: Add simple receive tests of kernel TLS.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 15 Nov 2021 19:31:16 +0000 (11:31 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 15 Nov 2021 19:31:16 +0000 (11:31 -0800)
commit3e7f8a8da254cfa97af90c3aae1cb827da55fc9d
treed7fb92b2746b461482fa00a808c4b77982cfd873
parentd1c369f926e7d04354d044cc13d8ecfb3e325636
ktls: Add simple receive tests of kernel TLS.

Similar to the simple transmit tests added in
a10482ea7476d68d1ab028145ae6d97cef747b49, these tests test the kernel
TLS functionality directly by manually encrypting TLS records using
randomly generated keys and writing them to a socket to be processed
by the kernel.

Reviewed by: markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D32980
tests/sys/kern/ktls_test.c