aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/sha1.h
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.h
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.h')
-rw-r--r--src/crypto/sha1.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h
index 9c365e2..b1dc647 100644
--- a/src/crypto/sha1.h
+++ b/src/crypto/sha1.h
@@ -30,13 +30,4 @@ int __must_check tls_prf(const u8 *secret, size_t secret_len,
u8 *out, size_t outlen);
void pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len,
int iterations, u8 *buf, size_t buflen);
-
-#ifdef CONFIG_CRYPTO_INTERNAL
-struct SHA1Context;
-
-void SHA1Init(struct SHA1Context *context);
-void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
-void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
-#endif /* CONFIG_CRYPTO_INTERNAL */
-
#endif /* SHA1_H */