summaryrefslogtreecommitdiffstats
path: root/sys/crypto/md5.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Defining the interface in terms of char * means most callers aretedu2014-11-161-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 inclusionderaadt2012-12-051-3/+1
| | | | ok guenther millert kettenis
* Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.millert2004-05-071-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@