]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd75c770a86f9f090df9987b34183a1fa71f31f41
tree03d3502ccc58ba4e4adb8c3c16cd9dbfc70ea0c1
parent9639e95484b3b1a03bc0775c00ae0445e0baa4f6
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