diff options
author | phk <phk@FreeBSD.org> | 2002-06-22 12:54:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-06-22 12:54:11 +0000 |
commit | 5f785ab6ddf246014a12006e50bb06e8a8bb9fe7 (patch) | |
tree | 366f9e7a79d3e8fb4f9fc054bf145663fc36d7f4 /usr.bin/xargs | |
parent | 5d43ad8ce6600bf1aae971105f88f49e10d3317d (diff) | |
download | FreeBSD-src-5f785ab6ddf246014a12006e50bb06e8a8bb9fe7.zip FreeBSD-src-5f785ab6ddf246014a12006e50bb06e8a8bb9fe7.tar.gz |
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.
Diffstat (limited to 'usr.bin/xargs')
0 files changed, 0 insertions, 0 deletions