]> 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)
commitb8973939abaa65404b0d0250ea40c950508270dd
tree03d3502ccc58ba4e4adb8c3c16cd9dbfc70ea0c1
parent8a8d47935351758a2942cff0aeaf7da958209b32
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