tls: rx: factor SW handling out of tls_rx_one_record()
authorJakub Kicinski <kuba@kernel.org>
Fri, 22 Jul 2022 23:50:28 +0000 (16:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Jul 2022 21:38:50 +0000 (14:38 -0700)
commitdd47ed3620e693636b4d912db4810fe0c092eb2c
treea371d9c16d02b9bbd6619927157c9639db217aa8
parentb92a13d488de2e87c869a4a6c0393d1f9eebe6dd
tls: rx: factor SW handling out of tls_rx_one_record()

After recent changes the SW side of tls_rx_one_record() can
be nicely encapsulated in its own function. Move the pad handling
as well. This will be useful for ->zc handling in tls_decrypt_device().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_sw.c