Date: Sat, 22 Jun 2002 05:54:11 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libmd md5c.c Message-ID: <200206221254.g5MCsBt36492@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 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?200206221254.g5MCsBt36492>