]> 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)
commitf77f2f8acf9694c1ec41caaab4bc8bbd4163cef8
tree560d44b671327e6857414287313e56868b298c39
parentb5be830b18da066b1bf4ff443bd033e68f65b35c
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