aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_device_fallback.c
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_device_fallback.c
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_device_fallback.c')
-rw-r--r--net/tls/tls_device_fallback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_device_fallback.c b/net/tls/tls_device_fallback.c
index 1d2b4d83ccab..4e7228f275fa 100644
--- a/net/tls/tls_device_fallback.c
+++ b/net/tls/tls_device_fallback.c
@@ -54,7 +54,7 @@ static int tls_enc_record(struct aead_request *aead_req,
struct scatter_walk *out, int *in_len,
struct tls_prot_info *prot)
{
- unsigned char buf[TLS_HEADER_SIZE + MAX_IV_SIZE];
+ unsigned char buf[TLS_HEADER_SIZE + TLS_MAX_IV_SIZE];
const struct tls_cipher_desc *cipher_desc;
struct scatterlist sg_in[3];
struct scatterlist sg_out[3];