BLAKE2 is a further development of the SHA-3 finalist BLAKE by its original
authors that improves its performance. BLAKE2b is the variant optimized for
64-bit systems.
ok riastradh
Changes since previous version:
+ add Taylor Campbell's implementation of SHA3 digests. This includes
code to calculate 224, 256, 384 and 512bit length digests.
+ change the license on all the code I wrote to be 2-clause BSD
+ modify license years for things that have been changed
+ add self-test command line option to digest(1) via the -t switch
pkgsrc changes
+ derive version number for the package automatically from the source
code
portability somewhat:
- consistently use POSIX uint{8,16,32,64}_t throughout the code.
- asssume for now that the compiler supports ULL as suffix
- use AC_TYPE_UINT{8,16,32,64}_T instead of bits.c to compute
possible replacement types.
Bump to 20070703. Tested by Thorsten Glaser on Interix and tnn@ on
Solaris.
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.
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.