Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2005 00:38:08 -0800
From:      Colin Percival <cperciva@freebsd.org>
To:        Mark Murray <markm@FreeBSD.ORG>
Cc:        cvs-src@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libmd Makefile sha256.3 sha256.h sha256c.c shadriver.c src/sbin/md5 Makefile md5.c
Message-ID:  <42300770.7040409@freebsd.org>
In-Reply-To: <200503100829.j2A8TJm9081256@grovel.grondar.org>
References:  <200503100829.j2A8TJm9081256@grovel.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42300770.7040409>