Change #261954
| Category | None |
| Changed by | Scott Boudreaux <121303252+Scottcjn@users.noreply.github.com> |
| Changed at | Sat 21 Mar 2026 23:35:58 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 21fc17b265ca32c8a5a768dc7cd730754a104740 |
Comments
md5/md4: enable unaligned access fast path on powerpc64 PowerPC64 (both big-endian and little-endian) supports efficient unaligned memory access, similar to x86. This extends the existing fast path that avoids byte-by-byte loads in the MD5 and MD4 SET/GET macros. On POWER8 ppc64le, this eliminates 3 shifts + 3 ORs per 32-bit word load, replacing them with a single lwz (or lwbrx on big-endian). Co Authored By Claude Opus 4.6 (1M context) Closes #20985
Changed files
- lib/md4.c
- lib/md5.c