tls: add custom openssl bio 51/30451/18
authorFlorin Coras <fcoras@cisco.com>
Thu, 17 Dec 2020 01:05:56 +0000 (17:05 -0800)
committerDave Barach <openvpp@barachs.net>
Fri, 18 Dec 2020 22:28:03 +0000 (22:28 +0000)
commit5b8b1aec213baf65d3051c849f5f3deff37d06b5
treecfdcaa17dad3c48b27c8e358fbb4b6b53e3e9523
parent8b60fb0fe6e29aac1847c0b381c0f84165b27b61
tls: add custom openssl bio

The bio interacts directly with the session so it avoids using an
intermediary mem bio and, implicitly, higher memory consumption and an
extra memcpy.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ifb675cfd12df86396a7a738a6cd4d0882c69ad2f
src/plugins/tlsopenssl/CMakeLists.txt
src/plugins/tlsopenssl/tls_bio.c [new file with mode: 0644]
src/plugins/tlsopenssl/tls_bio.h [new file with mode: 0644]
src/plugins/tlsopenssl/tls_openssl.c
src/plugins/tlsopenssl/tls_openssl.h
src/vnet/tls/tls.c