summaryrefslogtreecommitdiff
path: root/sys/crypto/sha1.c
AgeCommit message (Collapse)Author
2011-01-11in SHA1Final(), explicitly clear the local bufferTheo de Raadt
ok mikeb
2007-09-10Make the hmac ipad/opad globals "const" and fixup the crypto functionsHenric Jungheim
to match. ok deraadt@
2007-07-20unbreak landisk kernel sha1 by working around a compiler bug;Otto Moerbeek
also brings kernel sha1 more in line with userland; discussed with miod@ and millert@;
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2004-04-28Some KNF, made bit count u_int64_t instead of u_int32_t (similar to libc).Hans-Joerg Hoexer
Added constants for buffer lengths. ok millert@
2004-03-31remove sparc64/gcc2 workaround.Brad Smith
ok millert@ deraadt@ jason@
2003-01-08Move the rounds into separate functions on sparc64 so gcc's optimizerTodd C. Miller
doesn't blow up. This is a hack but is better than compiling sha1.c with -O0 on sparc64. From NetBSD (mrg). deraadt@ OK
2000-06-04better indent for easier searchingTheo de Raadt
2000-02-28move crypto codeTheo de Raadt