aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/sha1-internal.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-08-13 08:28:03 (GMT)
committerJouni Malinen <j@w1.fi>2009-08-13 08:28:03 (GMT)
commit6b5c4c3359b5a2b3d6a0db9febc32b66be21b73a (patch)
treeec91d839d5b4e3831fb0e060d08bf6ee3b107c75 /src/crypto/sha1-internal.c
parent27da6d4a0e43b596322c599122a39d70f78b6d73 (diff)
downloadhostap-6b5c4c3359b5a2b3d6a0db9febc32b66be21b73a.zip
hostap-6b5c4c3359b5a2b3d6a0db9febc32b66be21b73a.tar.gz
hostap-6b5c4c3359b5a2b3d6a0db9febc32b66be21b73a.tar.bz2
Remove some more crypto ifdef, fix a few small bugs
Diffstat (limited to 'src/crypto/sha1-internal.c')
-rw-r--r--src/crypto/sha1-internal.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/crypto/sha1-internal.c b/src/crypto/sha1-internal.c
index f40401c..1f66e92 100644
--- a/src/crypto/sha1-internal.c
+++ b/src/crypto/sha1-internal.c
@@ -16,6 +16,7 @@
#include "common.h"
#include "sha1.h"
+#include "sha1_i.h"
#include "md5.h"
#include "crypto.h"
@@ -27,11 +28,6 @@ struct SHA1Context {
typedef struct SHA1Context SHA1_CTX;
-#ifndef CONFIG_CRYPTO_INTERNAL
-static void SHA1Init(struct SHA1Context *context);
-static void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
-static void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
-#endif /* CONFIG_CRYPTO_INTERNAL */
void SHA1Transform(u32 state[5], const unsigned char buffer[64]);