]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tls: rx: factor out device darg update
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Jul 2022 05:22:29 +0000 (22:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2022 10:24:11 +0000 (11:24 +0100)
commit8a958732818bc27f7da4d41ecf2c5c99d9aa8b0e
tree5abe8910f7ebe9a53eed18ce24596a541f67f397
parent53d57999fe02785040bc53e2f12efc881f13ae17
tls: rx: factor out device darg update

I already forgot to transform darg from input to output
semantics once on the NIC inline crypto fastpath. To
avoid this happening again create a device equivalent
of decrypt_internal(). A function responsible for decryption
and transforming darg.

While at it rename decrypt_internal() to a hopefully slightly
more meaningful name.

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