FILS: Define authentication algorithm for FILS SK auth with PFS

This is needed to add PFS support into hostapd and wpa_supplicant FILS
shared key authentication.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2017-03-12 22:39:38 +02:00
parent 049142bcfe
commit cad291d671
2 changed files with 3 additions and 0 deletions

View file

@ -163,6 +163,7 @@ static inline int wpa_key_mgmt_cckm(int akm)
#define WPA_AUTH_ALG_FT BIT(3)
#define WPA_AUTH_ALG_SAE BIT(4)
#define WPA_AUTH_ALG_FILS BIT(5)
#define WPA_AUTH_ALG_FILS_SK_PFS BIT(6)
enum wpa_alg {

View file

@ -3219,6 +3219,8 @@ retry:
type = NL80211_AUTHTYPE_SAE;
else if (params->auth_alg & WPA_AUTH_ALG_FILS)
type = NL80211_AUTHTYPE_FILS_SK;
else if (params->auth_alg & WPA_AUTH_ALG_FILS_SK_PFS)
type = NL80211_AUTHTYPE_FILS_SK_PFS;
else
goto fail;
wpa_printf(MSG_DEBUG, " * Auth Type %d", type);