Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.bin / cksum / sha256.c
blob41f272ee3be3cd4699edb5c207e2a46f7f3a1e9a
1 /* $NetBSD: sha256.c,v 1.3 2006/10/30 20:22:54 christos 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 "SHA256"
11 #define HASHLEN 64
13 #define MD5Filter SHA256_Filter
14 #define MD5String SHA256_String
15 #define MD5TestSuite SHA256_TestSuite
16 #define MD5TimeTrial SHA256_TimeTrial
18 #define MD5Data SHA256_Data
19 #define MD5Init SHA256_Init
20 #define MD5Update SHA256_Update
21 #define MD5End SHA256_End
23 #define MD5_CTX SHA256_CTX
25 #include "md5.c"