aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls.h
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2023-10-09 20:50:44 +0000
committerDavid S. Miller <[email protected]>2023-10-13 10:26:09 +0000
commitbee6b7b30706e7693d91cb28c8ff3cb69e094f65 (patch)
treef471e5c0e1c6e578a24e014ede929e626dcd3b34 /net/tls/tls.h
parenttls: store rec_seq directly within cipher_context (diff)
downloadkernel-bee6b7b30706e7693d91cb28c8ff3cb69e094f65.tar.gz
kernel-bee6b7b30706e7693d91cb28c8ff3cb69e094f65.zip
tls: rename MAX_IV_SIZE to TLS_MAX_IV_SIZE
It's defined in include/net/tls.h, avoid using an overly generic name. Signed-off-by: Sabrina Dubroca <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls.h')
-rw-r--r--net/tls/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls.h b/net/tls/tls.h
index 28a8c0e80e3c..16830aa2d6ec 100644
--- a/net/tls/tls.h
+++ b/net/tls/tls.h
@@ -127,7 +127,7 @@ struct tls_rec {
struct sock *sk;
char aad_space[TLS_AAD_SPACE_SIZE];
- u8 iv_data[MAX_IV_SIZE];
+ u8 iv_data[TLS_MAX_IV_SIZE];
struct aead_request aead_req;
u8 aead_req_ctx[];
};