diff options
author | jsing <> | 2025-04-23 14:15:19 +0000 |
---|---|---|
committer | jsing <> | 2025-04-23 14:15:19 +0000 |
commit | fa507d40374ff29342cd51b7f2db5f7ad373594d (patch) | |
tree | 7e03ea75d048754a8a36a95810e193e7342db3a5 /src/lib/libcrypto/modes/gcm128.c | |
parent | 0846d43744d6b6951a96dae0b1276507c34c1d31 (diff) | |
download | openbsd-fa507d40374ff29342cd51b7f2db5f7ad373594d.tar.gz openbsd-fa507d40374ff29342cd51b7f2db5f7ad373594d.tar.bz2 openbsd-fa507d40374ff29342cd51b7f2db5f7ad373594d.zip |
Mop up all of the GETU32/BSWAP4/BSWAP8 macros since they're now unused.
ok beck@ tb@
Diffstat (limited to 'src/lib/libcrypto/modes/gcm128.c')
-rw-r--r-- | src/lib/libcrypto/modes/gcm128.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 @@ | |||
1 | /* $OpenBSD: gcm128.c,v 1.31 2025/04/23 14:12:38 jsing Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.32 2025/04/23 14:15:19 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -55,12 +55,6 @@ | |||
55 | #include "crypto_internal.h" | 55 | #include "crypto_internal.h" |
56 | #include "modes_local.h" | 56 | #include "modes_local.h" |
57 | 57 | ||
58 | #if defined(BSWAP4) && defined(__STRICT_ALIGNMENT) | ||
59 | /* redefine, because alignment is ensured */ | ||
60 | #undef GETU32 | ||
61 | #define GETU32(p) BSWAP4(*(const u32 *)(p)) | ||
62 | #endif | ||
63 | |||
64 | #define PACK(s) ((size_t)(s)<<(sizeof(size_t)*8-16)) | 58 | #define PACK(s) ((size_t)(s)<<(sizeof(size_t)*8-16)) |
65 | #define REDUCE1BIT(V) \ | 59 | #define REDUCE1BIT(V) \ |
66 | do { \ | 60 | do { \ |