Commit c0269caf33 for openssl.org

commit c0269caf33dee001282b70d606c8335edd2e188c
Author: Showta Ishizaki <zakinko@snowrabbit.org>
Date:   Fri Nov 13 17:41:42 2026 +0000

    crypto/aria/aria.c: rename bswap32 in the ARIA implementation

    NetBSD defines bswap32() as a macro in <sys/bswap.h>, which comes in
    through the system headers, so the local macro of the same name
    in crypto/aria/aria.c redefines it:

        crypto/aria/aria.c:35: warning: "bswap32" redefined

    Give the local macro a name of its own.

    Complements: dc99b885ded3 "Add ARIA 32-bit implementation"
    Signed-off-by: Showta Ishizaki <zakinko@snowrabbit.org>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Merge-date: Tue Dec  1 16:42:06 2026
    Merged-from: https://github.com/openssl/openssl/pull/33976

diff --git a/crypto/aria/aria.c b/crypto/aria/aria.c
index eed9214d4b..83841f5b81 100644
--- a/crypto/aria/aria.c
+++ b/crypto/aria/aria.c
@@ -32,7 +32,7 @@
 #define rotl32(v, r) (((uint32_t)(v) << (r)) | ((uint32_t)(v) >> (32 - r)))
 #define rotr32(v, r) (((uint32_t)(v) >> (r)) | ((uint32_t)(v) << (32 - r)))

-#define bswap32(v) \
+#define aria_bswap32(v) \
     (((v) << 24) ^ ((v) >> 24) ^ (((v) & 0x0000ff00) << 8) ^ (((v) & 0x00ff0000) >> 8))

 #define GET_U8_BE(X, Y) ((uint8_t)((X) >> ((3 - Y) * 8)))
@@ -378,7 +378,7 @@ static const uint32_t X2[256] = {
     do {                                                                \
         (T1) = (((T1) << 8) & 0xff00ff00) ^ (((T1) >> 8) & 0x00ff00ff); \
         (T2) = rotr32(T2, 16);                                          \
-        (T3) = bswap32(T3);                                             \
+        (T3) = aria_bswap32(T3);                                        \
     } while (0)

 /* Odd round Substitution & Diffusion */