Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Defining the interface in terms of char * means most callers are | 2014-11-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | 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 | ||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 1 | -3/+1 | |
| | | | | ok guenther millert kettenis | ||||
* | Replace RSA-derived md5 code with code derived from Colin Plumb's PD version. | 2004-05-07 | 1 | -0/+40 | |
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@ |