diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-08-12 16:05:16 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-08-12 16:05:16 +0000 |
commit | 49e6d0643a8eea171511542ac0f986906275e06e (patch) | |
tree | 9473d4186044f7c6a08991e22a911916cef0c260 /sys/net80211/ieee80211_crypto.h | |
parent | 403c6df2aecff7f14dab8b99ca7835f407110701 (diff) |
simplify ieee80211_derive_ptk() prototype.
pass the AKMP so we can support other key derivation functions in the
future.
Diffstat (limited to 'sys/net80211/ieee80211_crypto.h')
-rw-r--r-- | sys/net80211/ieee80211_crypto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_crypto.h b/sys/net80211/ieee80211_crypto.h index e9e506b407b..178e7144ead 100644 --- a/sys/net80211/ieee80211_crypto.h +++ b/sys/net80211/ieee80211_crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_crypto.h,v 1.13 2008/04/21 19:37:18 damien Exp $ */ +/* $OpenBSD: ieee80211_crypto.h,v 1.14 2008/08/12 16:05:15 damien Exp $ */ /* $NetBSD: ieee80211_crypto.h,v 1.2 2003/09/14 01:14:55 dyoung Exp $ */ /*- @@ -140,9 +140,9 @@ extern void ieee80211_eapol_key_encrypt(struct ieee80211com *, extern int ieee80211_eapol_key_decrypt(struct ieee80211_eapol_key *, const u_int8_t *); -extern void ieee80211_derive_ptk(const u_int8_t *, size_t, const u_int8_t *, - const u_int8_t *, const u_int8_t *, const u_int8_t *, u_int8_t *, - size_t); +extern void ieee80211_derive_ptk(enum ieee80211_akm, const u_int8_t *, + const u_int8_t *, const u_int8_t *, const u_int8_t *, + const u_int8_t *, struct ieee80211_ptk *); extern int ieee80211_cipher_keylen(enum ieee80211_cipher); extern void ieee80211_map_ptk(const struct ieee80211_ptk *, enum ieee80211_cipher, u_int64_t, struct ieee80211_key *); |