aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-09-08 17:39:46 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-22 14:51:43 (GMT)
commita852ab4c72c5246c5161d4aa066434601f2a3ec1 (patch)
tree668c44d232131e9faf5e3d2886e4ddaabd1d80ab /src/common/wpa_common.h
parentc089bc5725037a619190e8e38a94bfa689ba04bc (diff)
downloadhostap-a852ab4c72c5246c5161d4aa066434601f2a3ec1.zip
hostap-a852ab4c72c5246c5161d4aa066434601f2a3ec1.tar.gz
hostap-a852ab4c72c5246c5161d4aa066434601f2a3ec1.tar.bz2
FILS: Key-Auth derivation function for FILS SK
This implements Key-Auth derivation for (Re)Association Request frames (see P802.11ai/D11.0 12.12.2.6.2) and (Re)Association Response frames (see P802.11ai/D11.0 12.12.2.6.3). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index d55ecad..6d28417 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -333,6 +333,12 @@ int wpa_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const char *label,
int fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa,
const u8 *snonce, const u8 *anonce, struct wpa_ptk *ptk,
u8 *ick, size_t *ick_len, int akmp, int cipher);
+int fils_key_auth_sk(const u8 *ick, size_t ick_len, const u8 *snonce,
+ const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
+ const u8 *g_sta, size_t g_sta_len,
+ const u8 *g_ap, size_t g_ap_len,
+ int akmp, u8 *key_auth_sta, u8 *key_auth_ap,
+ size_t *key_auth_len);
#ifdef CONFIG_IEEE80211R
int wpa_ft_mic(const u8 *kck, size_t kck_len, const u8 *sta_addr,