summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-08-14 16:10:02 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-08-14 16:10:02 +0000
commit48fc2309881e3dbf73c703016600109749be8a9f (patch)
treebd40b4ace47f7fc709e6406f7bd2d0354f071dda /sys/net80211
parent6b7fa87e99c0e3a5dd189fa2aef9aabcd9133285 (diff)
#ifdef notyet ieee80211_kdf() as it is not used yet (shrink kernel a bit)
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_crypto.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_crypto.c b/sys/net80211/ieee80211_crypto.c
index 329af139ef4..05cb8312fcd 100644
--- a/sys/net80211/ieee80211_crypto.c
+++ b/sys/net80211/ieee80211_crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_crypto.c,v 1.52 2008/08/12 19:56:59 damien Exp $ */
+/* $OpenBSD: ieee80211_crypto.c,v 1.53 2008/08/14 16:10:01 damien Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
@@ -54,8 +54,10 @@
void ieee80211_prf(const u_int8_t *, size_t, const u_int8_t *, size_t,
const u_int8_t *, size_t, u_int8_t *, size_t);
+#ifdef notyet
void ieee80211_kdf(const u_int8_t *, size_t, const u_int8_t *, size_t,
const u_int8_t *, size_t, u_int8_t *, size_t);
+#endif
void ieee80211_derive_pmkid(const u_int8_t *, size_t, const u_int8_t *,
const u_int8_t *, u_int8_t *);
@@ -334,6 +336,7 @@ ieee80211_prf(const u_int8_t *key, size_t key_len, const u_int8_t *label,
/*
* SHA256-based Key Derivation Function (see 8.5.1.5.2).
*/
+#ifdef notyet
void
ieee80211_kdf(const u_int8_t *key, size_t key_len, const u_int8_t *label,
size_t label_len, const u_int8_t *context, size_t context_len,
@@ -362,6 +365,7 @@ ieee80211_kdf(const u_int8_t *key, size_t key_len, const u_int8_t *label,
len -= SHA256_DIGEST_LENGTH;
}
}
+#endif
/*
* Derive Pairwise Transient Key (PTK) (see 8.5.1.2).