xref: /minix/usr.bin/cksum/sha384.c (revision ebfedea0)
1 /* $NetBSD: sha384.c,v 1.3 2006/10/30 20:22:54 christos Exp $ */
2 
3 #if HAVE_NBTOOL_CONFIG_H
4 #include "nbtool_config.h"
5 #endif
6 
7 #include <sha2.h>	/* this hash type */
8 #include <md5.h>	/* the hash we're replacing */
9 
10 #define HASHTYPE	"SHA384"
11 #define HASHLEN		96
12 
13 #define MD5Filter	SHA384_Filter
14 #define MD5String	SHA384_String
15 #define MD5TestSuite	SHA384_TestSuite
16 #define MD5TimeTrial	SHA384_TimeTrial
17 
18 #define MD5Data		SHA384_Data
19 #define MD5Init		SHA384_Init
20 #define MD5Update	SHA384_Update
21 #define MD5End		SHA384_End
22 
23 #define MD5_CTX		SHA384_CTX
24 
25 #include "md5.c"
26