summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/aes/aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/aes/aes.c')
-rw-r--r--src/lib/libcrypto/aes/aes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/aes/aes.c b/src/lib/libcrypto/aes/aes.c
index 33e6273268..693badcd66 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.13 2025/07/21 10:24:23 jsing Exp $ */ 1/* $OpenBSD: aes.c,v 1.14 2025/07/22 09:13: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 *
@@ -310,6 +310,7 @@ AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
310} 310}
311LCRYPTO_ALIAS(AES_ecb_encrypt); 311LCRYPTO_ALIAS(AES_ecb_encrypt);
312 312
313#ifndef HAVE_AES_ECB_ENCRYPT_INTERNAL
313void 314void
314aes_ecb_encrypt_internal(const unsigned char *in, unsigned char *out, 315aes_ecb_encrypt_internal(const unsigned char *in, unsigned char *out,
315 size_t len, const AES_KEY *key, int encrypt) 316 size_t len, const AES_KEY *key, int encrypt)
@@ -321,6 +322,7 @@ aes_ecb_encrypt_internal(const unsigned char *in, unsigned char *out,
321 len -= AES_BLOCK_SIZE; 322 len -= AES_BLOCK_SIZE;
322 } 323 }
323} 324}
325#endif
324 326
325#define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long)) 327#define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
326typedef struct { 328typedef struct {