CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/11/16 10:39:09
Modified files:
sys/crypto : md5.c md5.h sha1.c sha1.h sha2.c sha2.h
Log message:
Defining the interface in terms of char * means most callers are
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