]> 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)
commit5b3137f96bfb416341ee0050d708bfe685e820d8
treea371d9c16d02b9bbd6619927157c9639db217aa8
parent62442fa5deca58c50b10eecb6bebdb5edfad062b
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