Linux ktls sendfile
authorBoris Pismenny <borisp@mellanox.com>
Thu, 11 Apr 2019 13:24:42 +0000 (16:24 +0300)
committerMatt Caswell <matt@openssl.org>
Tue, 7 May 2019 13:24:16 +0000 (14:24 +0100)
commit72fb59c72186c327e047cd29d8a66a4a323b9f3b
tree1f462b8ca55b2e96dfadf9bf6808b9f38f449592
parent260a16f33682a819414fcba6161708a5e6bdff50
Linux ktls sendfile

This commit introduces support for Linux KTLS sendfile.
Sendfile semantics require the use of a kernel TLS socket to construct the TLS
record headers, encrypt and authenticate the data.
KTLS sendfile improves performance by avoiding the copy of file data into user
space, which is required today.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8727)
include/internal/ktls.h