Changeset View
Changeset View
Standalone View
Standalone View
lib/libmd/md5c.c
Show All 33 Lines | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#else | #else | ||||
#include <string.h> | #include <string.h> | ||||
#endif | #endif | ||||
#include <machine/endian.h> | #include <machine/endian.h> | ||||
#include <sys/endian.h> | #include <sys/endian.h> | ||||
#include <sys/md5.h> | #include "md5.h" | ||||
static void MD5Transform(u_int32_t [4], const unsigned char [64]); | static void MD5Transform(u_int32_t [4], const unsigned char [64]); | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#define memset(x,y,z) bzero(x,z); | #define memset(x,y,z) bzero(x,z); | ||||
#define memcpy(x,y,z) bcopy(y, x, z) | #define memcpy(x,y,z) bcopy(y, x, z) | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 287 Lines • Show Last 20 Lines |