summaryrefslogtreecommitdiffstats
path: root/sys/crypto/sha2.c
AgeCommit message (Expand)AuthorFilesLines
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-12-31recent changes broke alignment requirements on arm.tedu1-13/+7
2014-12-23as in libc, always assume digest is passed to Final. no null allowed.tedu1-66/+55
2014-12-23as in libc, there's no need to check for calling Init on null contexttedu1-7/+1
2014-12-23use endian.h swap macros instead of home grown versionstedu1-31/+7
2014-12-19make the code look more like libc by changing Transform to take the statetedu1-87/+83
2014-12-19convert bcopy/zero to memcpy. ok deraadt djmtedu1-24/+29
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).tedu1-2/+3
2014-12-17unroll loops for sha2. quite a bit faster for amd64.tedu1-1/+4
2014-11-16Defining the interface in terms of char * means most callers aretedu1-5/+7
2011-01-11for key material that is being being discarded, convert bzero() toderaadt1-4/+4
2008-09-06match libc sha2(3) API changes for kernel; ok millert@djm1-114/+120
2004-05-03Rev 1.4 was bogus (committed from the wrong tree), this repairs it.millert1-83/+61
2004-05-03some minor KNFmillert1-33/+42
2004-04-29The data pointer passed to the transform function may not be properlymillert1-8/+6
2004-04-28Sync userland sha2.c with kernel. The SHAXXX_End and SHAXXX_Data functionsmillert1-222/+81
2003-09-03zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com>fgsch1-6/+6
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okitojun1-0/+1046