blob: 8bf5fbc99ce6caeb8b5cd8d5694da009c6222925 (
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
|
--- sha1.c.orig 2014-10-31 13:30:04 UTC
+++ sha1.c
@@ -86,6 +86,13 @@ A million repetitions of "a"
#include <string.h>
#include "os_types.h"
+
+#include <sha.h>
+#ifndef SHA1_DIGEST_SIZE
+#define SHA1_DIGEST_SIZE 20
+#endif
+
+#if 0
#include "sha1.h"
void SHA1_Transform(uint32_t state[5], const uint8_t buffer[64]);
@@ -258,7 +265,6 @@ SHA1_Final(SHA1_CTX *context, uint8_t di
/*************************************************************/
-#if 0
int
main(int argc, char **argv)
{
|