apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49011] [PATCH] Speed up MD5 on Little Endian Machines
Date Sat, 18 Sep 2010 08:05:26 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49011

--- Comment #1 from Stefan Fritsch <sf@sfritsch.de> 2010-09-18 04:05:20 EDT ---
I don't think your patch is correct in general because block may be 1-byte
aligned but x must be 4-byte aligned. It would work on x86 but it may fail on
other architectures that don't support unaligned access.

One has to check the alignment and do a memcpy if the input block is not
properly aligned.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message