summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/aes/aes_local.h5
-rw-r--r--src/lib/libcrypto/evp/e_aes.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/aes/aes_local.h b/src/lib/libcrypto/aes/aes_local.h
index f9bd363802..5052cf9e70 100644
--- a/src/lib/libcrypto/aes/aes_local.h
+++ b/src/lib/libcrypto/aes/aes_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: aes_local.h,v 1.7 2025/06/27 17:26:57 jsing Exp $ */ 1/* $OpenBSD: aes_local.h,v 1.8 2025/07/06 15:37:33 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -66,6 +66,9 @@ __BEGIN_HIDDEN_DECLS
66void aes_ctr32_encrypt_ctr128f(const unsigned char *in, unsigned char *out, 66void aes_ctr32_encrypt_ctr128f(const unsigned char *in, unsigned char *out,
67 size_t blocks, const void *key, const unsigned char ivec[AES_BLOCK_SIZE]); 67 size_t blocks, const void *key, const unsigned char ivec[AES_BLOCK_SIZE]);
68 68
69void aes_ecb_encrypt_internal(const unsigned char *in, unsigned char *out,
70 size_t len, const AES_KEY *key, int encrypt);
71
69__END_HIDDEN_DECLS 72__END_HIDDEN_DECLS
70 73
71#endif /* !HEADER_AES_LOCAL_H */ 74#endif /* !HEADER_AES_LOCAL_H */
diff --git a/src/lib/libcrypto/evp/e_aes.c b/src/lib/libcrypto/evp/e_aes.c
index b9d673c978..1779acec66 100644
--- a/src/lib/libcrypto/evp/e_aes.c
+++ b/src/lib/libcrypto/evp/e_aes.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_aes.c,v 1.77 2025/06/27 17:26:57 jsing Exp $ */ 1/* $OpenBSD: e_aes.c,v 1.78 2025/07/06 15:37:33 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -103,9 +103,6 @@ typedef struct {
103 103
104#define MAXBITCHUNK ((size_t)1<<(sizeof(size_t)*8-4)) 104#define MAXBITCHUNK ((size_t)1<<(sizeof(size_t)*8-4))
105 105
106void aes_ecb_encrypt_internal(const unsigned char *in, unsigned char *out,
107 size_t len, const AES_KEY *key, int encrypt);
108
109#ifdef AES_XTS_ASM 106#ifdef AES_XTS_ASM
110void AES_xts_encrypt(const char *inp, char *out, size_t len, 107void AES_xts_encrypt(const char *inp, char *out, size_t len,
111 const AES_KEY *key1, const AES_KEY *key2, const unsigned char iv[16]); 108 const AES_KEY *key1, const AES_KEY *key2, const unsigned char iv[16]);