summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2025-06-27 16:43:54 +0000
committerjsing <>2025-06-27 16:43:54 +0000
commitb056e8cf614fa516bdb0e53896cad019b9d462d9 (patch)
tree448d924d19fc206a4373cea65a0c8950058186eb
parent0deae0822a48e5ee6f70c68df6d28a726cdada0b (diff)
downloadopenbsd-b056e8cf614fa516bdb0e53896cad019b9d462d9.tar.gz
openbsd-b056e8cf614fa516bdb0e53896cad019b9d462d9.tar.bz2
openbsd-b056e8cf614fa516bdb0e53896cad019b9d462d9.zip
Remove unused defines from aes_local.h.
MAXKB was added in OpenSSL commit deb2c1a1 and appears to have never been used, while MAXKC (originally RIJNDAEL_MAXKC) stopped being used in that same commit. MAXNR is also unused - AES_MAXNR exists in the public header. ok tb@
-rw-r--r--src/lib/libcrypto/aes/aes_local.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/aes/aes_local.h b/src/lib/libcrypto/aes/aes_local.h
index 823dbab574..dab12ed3f9 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.5 2025/04/21 12:23:09 jsing Exp $ */ 1/* $OpenBSD: aes_local.h,v 1.6 2025/06/27 16:43:54 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 *
@@ -60,10 +60,6 @@
60 60
61__BEGIN_HIDDEN_DECLS 61__BEGIN_HIDDEN_DECLS
62 62
63#define MAXKC (256/32)
64#define MAXKB (256/8)
65#define MAXNR 14
66
67/* This controls loop-unrolling in aes_core.c */ 63/* This controls loop-unrolling in aes_core.c */
68#undef FULL_UNROLL 64#undef FULL_UNROLL
69 65