cvs commit: src/lib/libmd Makefile sha256.3 sha256.h sha256c.c
shadriver.c src/sbin/md5 Makefile md5.c
Colin Percival
cperciva at freebsd.org
Thu Mar 10 00:38:26 PST 2005
Mark Murray wrote:
> Colin Percival writes:
>>hash functions don't get upgraded to newer versions or have new
>>features added. (Ok, they do, but they get a new name and the old
>>versions are left unchanged.)
>
> But they do have bugs fixed or are optimised.
Optimized? Perhaps. Bugs fixed? Almost certainly not -- writing a
hash implementation which works for all the test vectors while failing
for some other data would be very difficult. There's only one code
path through the compression function, and only a very small number
through the wrappers -- if you get something wrong, it's going to bite
you every time.
Colin Percival
More information about the cvs-src
mailing list