Deleted Added
full compact
md5c.c (84211) md5c.c (92917)
1/*
2 * MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
3 *
4 * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
5 * rights reserved.
6 *
7 * License to copy and use this software is granted provided that it
8 * is identified as the "RSA Data Security, Inc. MD5 Message-Digest

--- 13 unchanged lines hidden (view full) ---

22 * These notices must be retained in any copies of any part of this
23 * documentation and/or software.
24 *
25 * This code is the same as the code published by RSA Inc. It has been
26 * edited for clarity and style only.
27 */
28
29#include <sys/cdefs.h>
1/*
2 * MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
3 *
4 * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
5 * rights reserved.
6 *
7 * License to copy and use this software is granted provided that it
8 * is identified as the "RSA Data Security, Inc. MD5 Message-Digest

--- 13 unchanged lines hidden (view full) ---

22 * These notices must be retained in any copies of any part of this
23 * documentation and/or software.
24 *
25 * This code is the same as the code published by RSA Inc. It has been
26 * edited for clarity and style only.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/lib/libmd/md5c.c 84211 2001-09-30 21:56:22Z dillon $");
30__FBSDID("$FreeBSD: head/lib/libmd/md5c.c 92917 2002-03-21 23:54:04Z obrien $");
31
32#include <sys/types.h>
33
34#ifdef _KERNEL
35#include <sys/systm.h>
36#else
37#include <string.h>
38#endif
39
40#include <sys/md5.h>
41
31
32#include <sys/types.h>
33
34#ifdef _KERNEL
35#include <sys/systm.h>
36#else
37#include <string.h>
38#endif
39
40#include <sys/md5.h>
41
42static void MD5Transform __P((u_int32_t [4], const unsigned char [64]));
42static void MD5Transform(u_int32_t [4], const unsigned char [64]);
43
44#ifdef _KERNEL
45#define memset(x,y,z) bzero(x,z);
46#define memcpy(x,y,z) bcopy(y, x, z)
47#endif
48
49#ifdef i386
50#define Encode memcpy

--- 293 unchanged lines hidden ---
43
44#ifdef _KERNEL
45#define memset(x,y,z) bzero(x,z);
46#define memcpy(x,y,z) bcopy(y, x, z)
47#endif
48
49#ifdef i386
50#define Encode memcpy

--- 293 unchanged lines hidden ---