From fa507d40374ff29342cd51b7f2db5f7ad373594d Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 23 Apr 2025 14:15:19 +0000 Subject: Mop up all of the GETU32/BSWAP4/BSWAP8 macros since they're now unused. ok beck@ tb@ --- src/lib/libcrypto/modes/gcm128.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib/libcrypto/modes/gcm128.c') diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index 29f289cb7e..fb03f72754 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gcm128.c,v 1.31 2025/04/23 14:12:38 jsing Exp $ */ +/* $OpenBSD: gcm128.c,v 1.32 2025/04/23 14:15:19 jsing Exp $ */ /* ==================================================================== * Copyright (c) 2010 The OpenSSL Project. All rights reserved. * @@ -55,12 +55,6 @@ #include "crypto_internal.h" #include "modes_local.h" -#if defined(BSWAP4) && defined(__STRICT_ALIGNMENT) -/* redefine, because alignment is ensured */ -#undef GETU32 -#define GETU32(p) BSWAP4(*(const u32 *)(p)) -#endif - #define PACK(s) ((size_t)(s)<<(sizeof(size_t)*8-16)) #define REDUCE1BIT(V) \ do { \ -- cgit v1.2.3-55-g6feb