net: tls: Refactor control message handling on recv
authorDave Watson <davejwatson@fb.com>
Wed, 30 Jan 2019 21:58:24 +0000 (21:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 23:00:55 +0000 (15:00 -0800)
commitfedf201e12960bd2fab0596422851b20a8d80d20
tree00a207c24e46e289b44e67d0f5ffe5dfd846da3e
parenta2ef9b6a22bd22841bde53e52cc50476fb4d1a5d
net: tls: Refactor control message handling on recv

For TLS 1.3, the control message is encrypted.  Handle control
message checks after decryption.

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