aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/sha1.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-07 13:07:25 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-07 13:07:25 (GMT)
commit986de33d5c3e11dd08a26ed65eacede8b75aa339 (patch)
treea4cf15f08916a4ac42216e2f1c080fc784a27cc5 /src/crypto/sha1.h
parent771e2f7b3302f7741594f9c669a225f5aa64f9e9 (diff)
downloadhostap-986de33d5c3e11dd08a26ed65eacede8b75aa339.zip
hostap-986de33d5c3e11dd08a26ed65eacede8b75aa339.tar.gz
hostap-986de33d5c3e11dd08a26ed65eacede8b75aa339.tar.bz2
Convert remaining SSID routines from char* to u8*
This makes it more explicit that the SSID is not a null terminated C string. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/crypto/sha1.h')
-rw-r--r--src/crypto/sha1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h
index 08e5a59..933cd81 100644
--- a/src/crypto/sha1.h
+++ b/src/crypto/sha1.h
@@ -22,6 +22,6 @@ int sha1_t_prf(const u8 *key, size_t key_len, const char *label,
int __must_check tls_prf_sha1_md5(const u8 *secret, size_t secret_len,
const char *label, const u8 *seed,
size_t seed_len, u8 *out, size_t outlen);
-int pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len,
+int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len,
int iterations, u8 *buf, size_t buflen);
#endif /* SHA1_H */