]> git.baikalelectronics.ru Git - kernel.git/commit
tls: rx: wrap decrypt params in a struct
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Jul 2022 01:03:11 +0000 (18:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jul 2022 01:38:45 +0000 (18:38 -0700)
commit1d61c52206979cf4d6e92fe913c96445a734e021
tree560d44b671327e6857414287313e56868b298c39
parent9ae14594fc3f125e2b53337aaf9123dd6d1c8fe6
tls: rx: wrap decrypt params in a struct

The max size of iv + aad + tail is 22B. That's smaller
than a single sg entry (32B). Don't bother with the
memory packing, just create a struct which holds the
max size of those members.

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