added in this version, taken from the reference code from the NESSIE
project. Passes regression test suite on NetBSD/{i386,sparc64} and
also on SunOS 5.9 sparc (thanks, Jonathan).
I expect that since all possible code paths through this function did,
as their last step, an assignment of what was to be the return value,
that the registers somehow ended up nicely arranged after we fell out
of the bottom of the function.
But it's still better just to return a value.
hashes (fooInit(), fooUpdate(), fooFinal(), and fooFile()) are in the
array of structs that list the digests we support.
This makes the code somewhat simpler, easier to patch, and makes it
much easier to add new algorithms.
Note that since this *only* changes the inner workings of the digest
program, we don't need to touch the version number.
Approved (finally) by agc. :)
into ${FILESDIR}. (Using autoconf greatly simplifies maintenance
of this package across multiple platforms.) Copy the sources into
${WRKSRC} during "do-extract". We automagically determine VERSION
by inspecting ${FILESDIR}/configure.
USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool.
reports which state that, although /usr/include/rmd160.h exists, the
corresponding rmd160*() routines are not available in libc.
Bump version number to 20010320
+ Always use the included sha1 source, since libc's may cause
unaligned access.
+ Don't allow weak aliases in included sha1 code.
+ Bump package version number
code from Aaron Gifford.
Bump version number to 20010307
Simplify the manual page installation:
+ remove the :D.gz modifier from the manual page installation commands.
It's not necessary, as bsd.pkg.mk works out whether the manual page
is gzipped or not
+ just use the make(1) :M modifier to work out
whether catinstall and maninstall are set in ${MANINSTALL}
NetBSD packages collection.
At the current time, this utility calculates md5, sha1 and rmd160
message digests, but is designed to be extensible, so that other
algorithms can be added easily, if and when they appear.
The utility outputs digests in the same format as md5(1) in basesrc.
It is designed to be small, and to be linked statically.