diff options
author | jsing <> | 2025-04-22 14:03:05 +0000 |
---|---|---|
committer | jsing <> | 2025-04-22 14:03:05 +0000 |
commit | 48fd82d423b1e5366283ee628900d5918ef9532f (patch) | |
tree | 9deec8f08bc9c3d74be0b698304b5cd354ee1e4e /src | |
parent | 485e95e28f88263129557e462e78bc980255bbe1 (diff) | |
download | openbsd-48fd82d423b1e5366283ee628900d5918ef9532f.tar.gz openbsd-48fd82d423b1e5366283ee628900d5918ef9532f.tar.bz2 openbsd-48fd82d423b1e5366283ee628900d5918ef9532f.zip |
Remove now unused PUTU32 macros from modes_local.h.
ok tb@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/modes/modes_local.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/modes/modes_local.h b/src/lib/libcrypto/modes/modes_local.h index 511855f2e0..6e3336dad9 100644 --- a/src/lib/libcrypto/modes/modes_local.h +++ b/src/lib/libcrypto/modes/modes_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: modes_local.h,v 1.2 2023/07/08 14:55:36 beck Exp $ */ | 1 | /* $OpenBSD: modes_local.h,v 1.3 2025/04/22 14:03:05 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 | * |
@@ -59,10 +59,8 @@ typedef unsigned char u8; | |||
59 | 59 | ||
60 | #if defined(BSWAP4) && !defined(__STRICT_ALIGNMENT) | 60 | #if defined(BSWAP4) && !defined(__STRICT_ALIGNMENT) |
61 | #define GETU32(p) BSWAP4(*(const u32 *)(p)) | 61 | #define GETU32(p) BSWAP4(*(const u32 *)(p)) |
62 | #define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) | ||
63 | #else | 62 | #else |
64 | #define GETU32(p) ((u32)(p)[0]<<24|(u32)(p)[1]<<16|(u32)(p)[2]<<8|(u32)(p)[3]) | 63 | #define GETU32(p) ((u32)(p)[0]<<24|(u32)(p)[1]<<16|(u32)(p)[2]<<8|(u32)(p)[3]) |
65 | #define PUTU32(p,v) ((p)[0]=(u8)((v)>>24),(p)[1]=(u8)((v)>>16),(p)[2]=(u8)((v)>>8),(p)[3]=(u8)(v)) | ||
66 | #endif | 64 | #endif |
67 | 65 | ||
68 | /* GCM definitions */ | 66 | /* GCM definitions */ |