From b056e8cf614fa516bdb0e53896cad019b9d462d9 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 27 Jun 2025 16:43:54 +0000 Subject: 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@ --- src/lib/libcrypto/aes/aes_local.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: aes_local.h,v 1.5 2025/04/21 12:23:09 jsing Exp $ */ +/* $OpenBSD: aes_local.h,v 1.6 2025/06/27 16:43:54 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * @@ -60,10 +60,6 @@ __BEGIN_HIDDEN_DECLS -#define MAXKC (256/32) -#define MAXKB (256/8) -#define MAXNR 14 - /* This controls loop-unrolling in aes_core.c */ #undef FULL_UNROLL -- cgit v1.2.3-55-g6feb