ssl: Linux TLS Rx Offload
authorBoris Pismenny <borisp@mellanox.com>
Thu, 21 Feb 2019 14:39:36 +0000 (16:39 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 1 Apr 2019 10:54:48 +0000 (11:54 +0100)
commitc35e921ffa58a84be7f68a37e5799ebefecf7326
tree9f4f3ce0fd4821ee19588f284fab3f26bc4b164a
parente401ef801e410d4d0d6dba62cc599cde786024b5
ssl: Linux TLS Rx Offload

This patch adds support for the Linux TLS Rx socket option.
It completes the previous patch for TLS Tx offload.
If the socket option is successful, then the receive data-path of the TCP
socket is implemented by the kernel.
We choose to set this option at the earliest - just after CCS is complete.

Change-Id: I59741e04d89dddca7fb138e88fffcc1259b30132
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7848)
include/openssl/ssl.h
ssl/record/rec_layer_s3.c
ssl/record/ssl3_record.c
ssl/t1_enc.c