summaryrefslogtreecommitdiff
path: root/usr.bin/cksum/rmd160.c
blob: f04a58d5b8d2f12c013a3ca3b5126c5944070c91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*	$NetBSD: rmd160.c,v 1.3 2006/10/30 20:22:54 christos Exp $	*/

#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif

#include <rmd160.h>	/* this hash type */
#include <md5.h>	/* the hash we're replacing */

#define HASHTYPE	"RMD160"
#define HASHLEN		40

#define MD5Filter	RMD160Filter
#define MD5String	RMD160String
#define MD5TestSuite	RMD160TestSuite
#define MD5TimeTrial	RMD160TimeTrial

#define MD5Data		RMD160Data
#define MD5Init		RMD160Init
#define MD5Update	RMD160Update
#define MD5End		RMD160End

#define MD5_CTX		RMD160_CTX

#include "md5.c"