path: root/src/common/wpa_common.h
diff options
authorJouni Malinen <j@w1.fi>2017-05-07 08:47:44 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-07 14:04:29 (GMT)
commit215eaa748bf17e09bb042e93ff45a97050423495 (patch)
tree059d0b21b0f3d66fcf0df892e0bad20869ea85cc /src/common/wpa_common.h
parent80ddf5d995a350060d1590678b0825e867942a45 (diff)
FILS: Implement FILS-FT derivation
This extends fils_pmk_to_ptk() to allow FILS-FT to be derived. The callers do not yet use that capability; i.e., actual use will be added in separate commits. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common/wpa_common.h')
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index 6303510..c0773e8 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -202,6 +202,7 @@ struct wpa_eapol_key {
#define WPA_KEK_MAX_LEN 64
#define WPA_TK_MAX_LEN 32
#define FILS_ICK_MAX_LEN 48
+#define FILS_FT_MAX_LEN 48
* struct wpa_ptk - WPA Pairwise Transient Key
@@ -346,7 +347,8 @@ int fils_pmkid_erp(int akmp, const u8 *reauth, size_t reauth_len,
u8 *pmkid);
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);
+ u8 *ick, size_t *ick_len, int akmp, int cipher,
+ u8 *fils_ft, size_t *fils_ft_len);
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,