tls: rx: use a define for tag length
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 03:38:19 +0000 (20:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:49:08 +0000 (11:49 +0100)
commita8340cc02beed4ffbb5e7b1b0eadca445323fc6a
tree904d42752ec1f00e35de34706caa54058b8ff6f2
parent863533e316b235d40c07e49cd39bbd6dcb9f5a1d
tls: rx: use a define for tag length

TLS 1.3 has to strip padding, and it starts out 16 bytes
from the end of the record. Make it clear this is because
of the auth tag.

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