← Commit list

21fc17b265

Scott Boudreaux
Scott Boudreaux
2026-03-21
SUCCESS Duration: 429s

Subject

md5/md4: enable unaligned access fast path on powerpc64

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/md4.c+2 -1
@@ -213,7 +213,8 @@ typedef struct md4_ctx MD4_CTX;
* The check for little-endian architectures that tolerate unaligned memory
* accesses is an optimization. Nothing will break if it does not work.
*/
-#if defined(__i386__) || defined(__x86_64__) || defined(__vax__)
+#if defined(__i386__) || defined(__x86_64__) || \
+ defined(__vax__) || defined(__powerpc64__)
#define MD4_SET(n) (*(const uint32_t *)(const void *)&ptr[(n) * 4])
#define MD4_GET(n) MD4_SET(n)
#else
lib/md5.c+2 -1
@@ -294,7 +294,8 @@ typedef struct md5_ctx my_md5_ctx;
* The check for little-endian architectures that tolerate unaligned memory
* accesses is an optimization. Nothing will break if it does not work.
*/
-#if defined(__i386__) || defined(__x86_64__) || defined(__vax__)
+#if defined(__i386__) || defined(__x86_64__) || \
+ defined(__vax__) || defined(__powerpc64__)
#define MD5_SET(n) (*(const uint32_t *)(const void *)&ptr[(n) * 4])
#define MD5_GET(n) MD5_SET(n)
#else