The NetBSD Project

CVS log for pkgsrc/pkgtools/digest/files/digest.c

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / digest / files

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 23 18:09:13 2021 UTC (2 years, 5 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, HEAD
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

digest: match b2sum in terms of capitalizing BLAKE2s/BLAKE2b

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 29 13:10:40 2021 UTC (2 years, 6 months ago) by nia
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

digest: correct hash size of blake2s

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 28 13:05:08 2021 UTC (2 years, 6 months ago) by nia
Branch: MAIN
Changes since 1.17: +5 -1 lines
Diff to previous 1.17 (colored)

digest: Add blake2s hash.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 6 14:32:45 2018 UTC (5 years, 6 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.16: +5 -1 lines
Diff to previous 1.16 (colored)

digest: add the BLAKE2b digest.

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

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 3 22:11:07 2016 UTC (8 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.15: +62 -46 lines
Diff to previous 1.15 (colored)

Update digest to version 20160216, as proposed on tech-pkg.

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

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 21 18:44:36 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, cwrapper-base, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Fully ANSIfy and use size_t and uint32_t in places where u_int was used
before. This fixes the build on QNX, where u_int is not exposed by the
current set of headers. Make the prototypes of the crypto functions
consistent.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 14 08:12:29 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Don't use u_char when uint8_t are meant. Don't mess with __attribute__,
conditionally use it in the only place it is used. This should fix
problems on QNX reported by Sean Boudreau.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 3 17:10:07 2007 UTC (16 years, 8 months ago) by tnn
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Allocate enough storage space to hold a tiger hash. Corrects a
segfault caused by writing past the end of the buffer.
XXX how do I bump the version of this package?

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 3 18:54:03 2007 UTC (16 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.11: +2 -4 lines
Diff to previous 1.11 (colored)

Make pkgtools/digest cross-compilation ready and actually improve
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.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 23 21:40:35 2005 UTC (19 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

fix a memory leak.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 23 14:32:19 2005 UTC (19 years, 1 month ago) by agc
Branch: MAIN
Changes since 1.9: +17 -12 lines
Diff to previous 1.9 (colored)

Update digest to version 20050323.  The whirlpool digest algorithm was
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).

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 22 10:16:15 2005 UTC (19 years, 1 month ago) by agc
Branch: MAIN
Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

Add support for the tiger algorithm to digest.

Bump version to 20050310.

The cabal known as the cryptographers might like to have a look at the
first two results in test 6 of the regression tests.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 24 00:27:09 2003 UTC (20 years, 9 months ago) by atatat
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

Fix the usage line.  Addresses PR pkg/22207.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 16 13:35:22 2003 UTC (20 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

A function that is declared to return an int *really ought to do do*.
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.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 15 00:42:29 2003 UTC (20 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.5: +80 -162 lines
Diff to previous 1.5 (colored)

Reword the guts of digest so that the entry points into the various
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.  :)

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 21 04:06:14 2002 UTC (21 years, 4 months ago) by schmonz
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.4: +17 -5 lines
Diff to previous 1.4 (colored)

"Import" autoconf'd digest source from othersrc/bootstrap-pkgsrc/digest
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.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 7 22:14:53 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

Add some `\n' in error messages, per pkg/13650 by Stoned Elipot.
Bump to 20010807.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 9 21:42:30 2001 UTC (22 years, 9 months ago) by hubertf
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Get rid of BSD err() and warn() functions - for great just^Wportability!

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 12 09:08:40 2001 UTC (23 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.1: +78 -2 lines
Diff to previous 1.1 (colored)

Add sha256, sha384 and sha512 digest algorithms, with BSD-licenced
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}

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Mar 6 11:21:04 2001 UTC (23 years, 1 month ago) by agc
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import of a small utility, which calculates message digests, into the
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.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 6 11:21:04 2001 UTC (23 years, 1 month ago) by agc
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>