]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbf017217c3631b4fb6f5613562f33aad6e0267e
treea371d9c16d02b9bbd6619927157c9639db217aa8
parent347e1675b85440aae486423138bced6c6dd4eae9
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