OSDN Git Service

tls: Move cipher info to a separate struct
authorDave Watson <davejwatson@fb.com>
Thu, 22 Mar 2018 17:10:06 +0000 (10:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 16:25:53 +0000 (12:25 -0400)
commitdbe425599ba05c7415f632e6f5f018453098eb69
tree03d3502ccc58ba4e4adb8c3c16cd9dbfc70ea0c1
parent69ca9293e8dd9323c6cde579e1855d6ce9489a46
tls: Move cipher info to a separate struct

Separate tx crypto parameters to a separate cipher_context struct.
The same parameters will be used for rx using the same struct.

tls_advance_record_sn is modified to only take the cipher info.

Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_main.c
net/tls/tls_sw.c