]> git.baikalelectronics.ru Git - kernel.git/commit
tls: rx: use MAX_IV_SIZE for allocations
authorJakub Kicinski <kuba@kernel.org>
Mon, 11 Apr 2022 19:19:16 +0000 (12:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 10:45:39 +0000 (11:45 +0100)
commitf017fe201b81322f49fc2bd44970fb1c69657ffb
treece3a75e4658911fa6c3327da413e1ff751db0cf0
parent64976544e889bc09143ffe66326a78f0e12d5f99
tls: rx: use MAX_IV_SIZE for allocations

IVs are 8 or 16 bytes, no point reading out the exact value
for quantities this small.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c