Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-28 | convert bcopy to memcpy in md5 and sha1. also be consistent about clearing | Ted Unangst | |
context and making digest required to Final. | |||
2014-11-16 | Defining the interface in terms of char * means most callers are | Ted Unangst | |
required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instead of the address of the int. implicit void * casting is safer. This updates the kernel hash interfaces to use void *. Similar changes are possible for userland. I think it's safe, but there may be some peculiar source compatbility issues there, so let's just do the kernel first. ok dlg millert | |||
2011-01-11 | in SHA1Final(), explicitly clear the local buffer | Theo de Raadt | |
ok mikeb | |||
2007-09-10 | Make the hmac ipad/opad globals "const" and fixup the crypto functions | Henric Jungheim | |
to match. ok deraadt@ | |||
2007-07-20 | unbreak 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-28 | Some 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-31 | remove sparc64/gcc2 workaround. | Brad Smith | |
ok millert@ deraadt@ jason@ | |||
2003-01-08 | Move the rounds into separate functions on sparc64 so gcc's optimizer | Todd 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-04 | better indent for easier searching | Theo de Raadt | |
2000-02-28 | move crypto code | Theo de Raadt | |