Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / usr.bin / cksum / sha512.c
blob064228a03095c1173d74d7ffa73853fd5eb760dc
1 /* $NetBSD: sha512.c,v 1.2 2005/08/25 09:51:23 tron Exp $ */
3 #if HAVE_NBTOOL_CONFIG_H
4 #include "nbtool_config.h"
5 #endif
7 #include <sha2.h> /* this hash type */
8 #include <md5.h> /* the hash we're replacing */
10 #define HASHTYPE "SHA512"
11 #define HASHLEN 128
13 #define MD5Filter SHA512_Filter
14 #define MD5String SHA512_String
15 #define MD5TestSuite SHA512_TestSuite
16 #define MD5TimeTrial SHA512_TimeTrial
18 #define MD5Data SHA512_Data
19 #define MD5Init SHA512_Init
20 #define MD5Update SHA512_Update
21 #define MD5End SHA512_End
23 #define MD5_CTX SHA512_CTX
25 #include "md5.c"