diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/aes/aes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/aes/aes.c b/src/lib/libcrypto/aes/aes.c index 45b7a3b109..cbfb548b3b 100644 --- a/src/lib/libcrypto/aes/aes.c +++ b/src/lib/libcrypto/aes/aes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: aes.c,v 1.11 2025/07/13 06:01:33 jsing Exp $ */ | 1 | /* $OpenBSD: aes.c,v 1.12 2025/07/20 08:55:49 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2002-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2002-2006 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -196,6 +196,9 @@ aes_ctr32_encrypt_generic(const unsigned char *in, unsigned char *out, | |||
196 | out += 16; | 196 | out += 16; |
197 | blocks--; | 197 | blocks--; |
198 | } | 198 | } |
199 | |||
200 | explicit_bzero(buf, sizeof(buf)); | ||
201 | explicit_bzero(iv, sizeof(iv)); | ||
199 | } | 202 | } |
200 | 203 | ||
201 | #ifdef HAVE_AES_CTR32_ENCRYPT_INTERNAL | 204 | #ifdef HAVE_AES_CTR32_ENCRYPT_INTERNAL |