cvs commit: src/lib/libmd Makefile sha256.3 sha256.h sha256c.c shadriver.c src/sbin/md5 Makefile md5.c

Mark Murray markm at FreeBSD.ORG
Thu Mar 10 00:30:11 PST 2005

Colin Percival writes:
> Peter Jeremy wrote:
> > Three almost,
> > but not totally, identical versions of foo() means three times as much
> > maintenance effort and a non-zero probability of someone forgetting
> > to make a change to one of the versions.
> Absolutely -- but this isn't particularly relevant for hash functions,
> since 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.

Mark Murray
iumop ap!sdn w,I idlaH

More information about the cvs-all mailing list