net/tls: Split conf to rx + tx
authorBoris Pismenny <borisp@mellanox.com>
Mon, 30 Apr 2018 07:16:15 +0000 (10:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 13:42:47 +0000 (09:42 -0400)
commitf66de3ee2c161fcc2d66974e9671f8a2a471ab20
tree0424b196ef247c1084a599c055e6506cf15aa84b
parent2342a8512a1e98c286b6b36094058e4ee2261c74
net/tls: Split conf to rx + tx

In TLS inline crypto, we can have one direction in software
and another in hardware. Thus, we split the TLS configuration to separate
structures for receive and transmit.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_main.c
net/tls/tls_sw.c