cvs commit: src/lib/libmd Makefile sha256.3 sha256.h sha256c.c
shadriver.c src/sbin/md5 Makefile md5.c
cperciva at freebsd.org
Wed Mar 9 12:33:36 PST 2005
Richard Coleman wrote:
> Colin Percival wrote:
>> As far as I could tell, we didn't have sha256 in the tree until I added
>> it. As for md5 and sha1, it's useful to have a minimalist libmd for
>> applications which don't require the bloated monst^W^W^W OpenSSL, and
>> these are small enough that a bit of duplication really doesn't matter.
> There are versions of sha256, sha384, and sha512 in sys/crypto/sha2.
Oh well, I think my version is cleaner anyway... :-)
> Just a random thought. But I'm glad to see sha256 added to libmd
> anyways. It may be useful to add sha384 and sha512 as well.
I considered that, but decided that since those hashes are designed
for 64 bit processors, they would be more trouble than they're worth.
My personal feeling is that sha(384|512) are overkill on the side of
hash length and probably underkill on the side of design (considering
that they have the same basic design which has been repeatedly shown
to be vulnerable to the Chinese attack) anyway -- we really need an
AES-like process for selecting a new hash standard.
More information about the cvs-all