]> asedeno.scripts.mit.edu Git - linux.git/commit
net: tls: Refactor tls aad space size calculation
authorDave Watson <davejwatson@fb.com>
Wed, 30 Jan 2019 21:58:12 +0000 (21:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 23:00:55 +0000 (15:00 -0800)
commita2ef9b6a22bd22841bde53e52cc50476fb4d1a5d
treee948587553b52394f404826c6ac0591b2fd2fd1f
parentfb99bce7120014307dde57b3d7def6977a9a62a1
net: tls: Refactor tls aad space size calculation

TLS 1.3 has a different AAD size, use a variable in the code to
make TLS 1.3 support easy.

Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_sw.c