diff options
author | Dave Watson <davejwatson@fb.com> | 2019-01-30 21:58:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-01 15:00:55 -0800 |
commit | a2ef9b6a22bd22841bde53e52cc50476fb4d1a5d (patch) | |
tree | e948587553b52394f404826c6ac0591b2fd2fd1f /include/net/tls.h | |
parent | fb99bce7120014307dde57b3d7def6977a9a62a1 (diff) | |
download | linux-stable-a2ef9b6a22bd22841bde53e52cc50476fb4d1a5d.tar.gz linux-stable-a2ef9b6a22bd22841bde53e52cc50476fb4d1a5d.tar.bz2 linux-stable-a2ef9b6a22bd22841bde53e52cc50476fb4d1a5d.zip |
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>
Diffstat (limited to 'include/net/tls.h')
-rw-r--r-- | include/net/tls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tls.h b/include/net/tls.h index da616db48413..754b130672f0 100644 --- a/include/net/tls.h +++ b/include/net/tls.h @@ -202,6 +202,7 @@ struct cipher_context { char *iv; u16 rec_seq_size; char *rec_seq; + u16 aad_size; }; union tls_crypto_context { |