From owner-cvs-all Sat Jun 22 6: 0:25 2002 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 65E0337B407; Sat, 22 Jun 2002 05:59:46 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g5MCvqCn059675; Sat, 22 Jun 2002 14:57:53 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libmd md5c.c In-Reply-To: Your message of "Sat, 22 Jun 2002 05:54:11 PDT." <200206221254.g5MCsBt36492@freefall.freebsd.org> Date: Sat, 22 Jun 2002 14:57:52 +0200 Message-ID: <59674.1024750672@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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