summaryrefslogtreecommitdiff
path: root/lib/libc/hash/sha2.c
AgeCommit message (Expand)Author
2017-05-27move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@Christian Weisgerber
2016-09-03Add functions for SHA512/256. The standard says you're supposed to startTed Unangst
2015-09-11Wrap blowfish, sha*, md5, and rmd160 so that internal calls go directPhilip Guenther
2015-01-15Use explicit_bzero instead of memset in hash Final and End functions.Todd C. Miller
2014-12-19be like the kernel and only unroll if not smallTed Unangst
2014-12-19i386 unrolling blows up the media in a big way, due to -Os forTheo de Raadt
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
2014-12-17unroll loops. much faster on amd64. ok deraadt millertTed Unangst
2014-07-20From ISO/IEC 9899:1999 and 9899:201x,Philip Guenther
2014-01-08calling HashFinal with a null digest should crash, not be silently ignoredTed Unangst
2014-01-08rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 supportTheo de Raadt
2013-12-22remove unneeded check for null context. ok deraadt gilles millertTed Unangst
2013-04-15SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in aTodd C. Miller
2009-04-15allow building without SHA384 and SHA512 (i.e. SHA256 only) withDamien Miller
2008-09-06Rename SHA256/384/512 API to avoid namespace collisions withDamien Miller
2005-08-08zap remaining rcsid.Marc Espie
2004-05-28In the Final function, move the context zeroing into the digest != NULLTodd C. Miller
2004-05-07Simpler byte order flipping. Now the only place we explicitly checkTodd C. Miller
2004-05-05Make the Transform functions match the other hash types and document them.Todd C. Miller
2004-05-03Add Pad and FileChunk functions for each family of hash functions.Todd C. Miller
2004-05-03Rev 1.4 was bogus (committed from the wrong tree), this repairs it.Todd C. Miller
2004-05-02some minor KNFTodd C. Miller
2004-04-29The data pointer passed to the transform function may not be properlyTodd C. Miller
2004-04-28KNF: function names should be at column 0 for easier grepping.Todd C. Miller
2003-09-08Zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com>Todd C. Miller
2003-05-08Add sha2 routines based on code by Aaron D. Gifford with minorTodd C. Miller