diff options
author | Dave Watson <davejwatson@fb.com> | 2019-01-31 00:58:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-02 02:00:55 +0300 |
commit | a2ef9b6a22bd22841bde53e52cc50476fb4d1a5d (patch) | |
tree | e948587553b52394f404826c6ac0591b2fd2fd1f /include | |
parent | fb99bce7120014307dde57b3d7def6977a9a62a1 (diff) | |
download | linux-a2ef9b6a22bd22841bde53e52cc50476fb4d1a5d.tar.xz |
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')
-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 { |