Date: Sat, 22 Jun 2002 14:57:52 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libmd md5c.c Message-ID: <59674.1024750672@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 22 Jun 2002 05:54:11 PDT." <200206221254.g5MCsBt36492@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I would be grateful if somebody would run "make test" in src/lib/libmd on alpha and ia64, just to make sure this works as expected. Poul-Henning In message <200206221254.g5MCsBt36492@freefall.freebsd.org>, Poul-Henning Kamp writes: >phk 2002/06/22 05:54:11 PDT > > Modified files: > lib/libmd md5c.c > Log: > Improve the handling of Encode and Decode operations in MD5. > > Use memcpy for all little-endian architectures, sys/kern/md5c.c indicates > this should be safe for all currently supported LE archs. > > Change the Encode and Decode functions for other archs to use le32toh() > and htole32() functions instead of explicit byte shuffling. > > On sparc64 this gives md5(1) about 8% speed increase. > > Revision Changes Path > 1.14 +15 -22 src/lib/libmd/md5c.c > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59674.1024750672>