You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2010/09/18 10:05:26 UTC

DO NOT REPLY [Bug 49011] [PATCH] Speed up MD5 on Little Endian Machines

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