summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorVakul Garg <vakul.garg@nxp.com>2019-02-11 11:31:05 +0000
committerDavid S. Miller <davem@davemloft.net>2019-02-12 12:35:14 -0500
commitc0ab4732d4c658f74eb929d3f615d390f03d660c (patch)
tree89399bf32badd17d93fb7dde8d613e6003c4296f /include/linux
parentfde55ea74ce69b1ba2fb108b197f7c3c6b8749e1 (diff)
downloadcachepc-linux-c0ab4732d4c658f74eb929d3f615d390f03d660c.tar.gz
cachepc-linux-c0ab4732d4c658f74eb929d3f615d390f03d660c.zip
net/tls: Do not use async crypto for non-data records
Addition of tls1.3 support broke tls1.2 handshake when async crypto accelerator is used. This is because the record type for non-data records is not propagated to user application. Also when async decryption happens, the decryption does not stop when two different types of records get dequeued and submitted for decryption. To address it, we decrypt tls1.2 non-data records in synchronous way. We check whether the record we just processed has same type as the previous one before checking for async condition and jumping to dequeue next record. Fixes: 130b392c6cd6b ("net: tls: Add tls 1.3 support") Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions