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)
commitb89fec54fd614ffa4b7567edfae8b9e56c07ff69
tree560d44b671327e6857414287313e56868b298c39
parent50a07aa5316181e08fb80914fcf70229a827a2e0
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