tls: rx: always allocate max possible aad size for decrypt
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Jul 2022 01:03:10 +0000 (18:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jul 2022 01:38:45 +0000 (18:38 -0700)
commit50a07aa5316181e08fb80914fcf70229a827a2e0
treed841f8e239698390fa70d105fb739ba1735157a4
parent2d91ecace6614cf6254001566292b808d7f70a91
tls: rx: always allocate max possible aad size for decrypt

AAD size is either 5 or 13. Really no point complicating
the code for the 8B of difference. This will also let us
turn the chunked up buffer into a sane struct.

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