diff options
author | Dave Watson <davejwatson@fb.com> | 2017-06-14 20:37:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-15 18:12:40 +0200 |
commit | 3c4d7559159bfe1e3b94df3a657b2cda3a34e218 (patch) | |
tree | 57a99de1db4ac5bb65ea9cf2ee6e7156d6c64d6d /net/tls/Makefile | |
parent | tcp: export do_tcp_sendpages and tcp_rate_check_app_limited functions (diff) | |
download | linux-3c4d7559159bfe1e3b94df3a657b2cda3a34e218.tar.xz linux-3c4d7559159bfe1e3b94df3a657b2cda3a34e218.zip |
tls: kernel TLS support
Software implementation of transport layer security, implemented using ULP
infrastructure. tcp proto_ops are replaced with tls equivalents of sendmsg and
sendpage.
Only symmetric crypto is done in the kernel, keys are passed by setsockopt
after the handshake is complete. All control messages are supported via CMSG
data - the actual symmetric encryption is the same, just the message type needs
to be passed separately.
For user API, please see Documentation patch.
Pieces that can be shared between hw and sw implementation
are in tls_main.c
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/Makefile')
-rw-r--r-- | net/tls/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/tls/Makefile b/net/tls/Makefile new file mode 100644 index 000000000000..a930fd1c4f7b --- /dev/null +++ b/net/tls/Makefile @@ -0,0 +1,7 @@ +# +# Makefile for the TLS subsystem. +# + +obj-$(CONFIG_TLS) += tls.o + +tls-y := tls_main.o tls_sw.o |