summaryrefslogtreecommitdiff
path: root/pkgtools/digest/files/sha1.h
AgeCommit message (Collapse)AuthorFilesLines
2010-01-23Exactly include unistd.h for size_t (at least, need for Haiku).obache1-1/+5
2007-09-21Fully ANSIfy and use size_t and uint32_t in places where u_int was usedjoerg1-8/+8
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.
2007-09-14Don't use u_char when uint8_t are meant. Don't mess with __attribute__,joerg1-6/+6
conditionally use it in the only place it is used. This should fix problems on QNX reported by Sean Boudreau.
2007-08-02Include inttypes.h if it exists. Fixes issues on OSF/1 as reportedjoerg1-1/+5
by tnn@.
2007-07-08Include stdint.h to use integer types such as uint32_t.minskim1-1/+5
2007-07-03Make pkgtools/digest cross-compilation ready and actually improvejoerg1-4/+4
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.
2002-12-21"Import" autoconf'd digest source from othersrc/bootstrap-pkgsrc/digestschmonz1-3/+1
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.
2001-03-06Import of a small utility, which calculates message digests, into theagc1-0/+30
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.