tls: rx: don't handle TLS 1.3 in the async crypto callback
authorJakub Kicinski <kuba@kernel.org>
Mon, 11 Apr 2022 19:19:11 +0000 (12:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 10:45:39 +0000 (11:45 +0100)
commit72f3ad73bc866a53340cce6a0ad500d29295a8b8
tree40491d7c408f08be7e0620a0cb705cfd06e6f176
parent284b4d93daee56dff3e10029ddf2e03227f50dbf
tls: rx: don't handle TLS 1.3 in the async crypto callback

Async crypto never worked with TLS 1.3 and was explicitly disabled in
commit 8497ded2d16c ("net/tls: Disable async decrytion for tls1.3").
There's no need for us to handle TLS 1.3 padding in the async cb.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c