summaryrefslogtreecommitdiff
path: root/usr.bin/cksum/sha384.c
blob: 845988b2cbbdf8e32643d8a8362b0187e99d479e (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: sha384.c,v 1.3 2006/10/30 20:22:54 christos Exp $ */

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

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

#define HASHTYPE	"SHA384"
#define HASHLEN		96

#define MD5Filter	SHA384_Filter
#define MD5String	SHA384_String
#define MD5TestSuite	SHA384_TestSuite
#define MD5TimeTrial	SHA384_TimeTrial

#define MD5Data		SHA384_Data
#define MD5Init		SHA384_Init
#define MD5Update	SHA384_Update
#define MD5End		SHA384_End

#define MD5_CTX		SHA384_CTX

#include "md5.c"