diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-05 20:11:05 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-05 20:11:05 +0000 |
commit | e596c97fc8de1786820d37838908f918fedd1fdb (patch) | |
tree | a7d7a8cfeb64aac3c4c0beeff58a5c5b0ee42708 /sys/net80211/ieee80211.h | |
parent | f3e070ecb201427560fb1594c75a10fa4566a016 (diff) |
add the pseudo-random function (PRF) and various key derivation
functions defined in 802.11i.
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r-- | sys/net80211/ieee80211.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index bb81e52217a..1770cdaf84f 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211.h,v 1.28 2007/07/04 20:32:43 damien Exp $ */ +/* $OpenBSD: ieee80211.h,v 1.29 2007/07/05 20:11:04 damien Exp $ */ /* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */ /*- @@ -625,4 +625,14 @@ struct ieee80211_eapol_key { u_int8_t data[0]; } __packed; +/* Pairwise Transient Key (see 8.5.1.2) */ +struct ieee80211_ptk { + u_int8_t kck[16]; /* Key Confirmation Key */ + u_int8_t kek[16]; /* Key Encryption Key */ + u_int8_t tk[32]; /* Temporal Key */ +} __packed; + +#define IEEE80211_PMKID_LEN 16 +#define IEEE80211_SMKID_LEN 16 + #endif /* _NET80211_IEEE80211_H_ */ |