Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | convert bcopy to memcpy in md5 and sha1. also be consistent about clearing | 2014-12-28 | 1 | -8/+6 | |
| | | | | context and making digest required to Final. | ||||
* | Defining the interface in terms of char * means most callers are | 2014-11-16 | 1 | -2/+3 | |
| | | | | | | | | | | | | 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 | ||||
* | for key material that is being being discarded, convert bzero() to | 2011-01-11 | 1 | -2/+2 | |
| | | | | | explicit_bzero() where required ok markus mikeb | ||||
* | Replace RSA-derived md5 code with code derived from Colin Plumb's PD version. | 2004-05-07 | 1 | -0/+239 | |
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@ |