]> git.baikalelectronics.ru Git - kernel.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)
commitd758d06ba8047c26464a469823773a4b93a2b925
tree5abe8910f7ebe9a53eed18ce24596a541f67f397
parent257a00cfe908e66c1afc6d30a800b17388d8929f
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