aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-07-01 20:51:31 (GMT)
committerJouni Malinen <j@w1.fi>2015-07-07 13:25:06 (GMT)
commit05a90d78dc7218b36c6202d9096af300310bf54f (patch)
tree8074f4ee699ee88824457a4a4233e3523275b032 /src/common/wpa_common.h
parent348bc4e0ebfaafeb378044b586ff8b6bbbf19ad9 (diff)
downloadhostap-05a90d78dc7218b36c6202d9096af300310bf54f.zip
hostap-05a90d78dc7218b36c6202d9096af300310bf54f.tar.gz
hostap-05a90d78dc7218b36c6202d9096af300310bf54f.tar.bz2
FT: Allow CCMP-256 and GCMP-256 as group ciphers
The FT-specific check for valid group cipher in wpa_ft_gen_req_ies() was not up-to-date with the current list of supported ciphers. Fix this by using a generic function to determine validity of the cipher. In practice, this adds support for using CCMP-256 and GCMP-256 as the group cipher with FT. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index d7a590f..c08f651 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -435,6 +435,7 @@ int wpa_ft_parse_ies(const u8 *ies, size_t ies_len, struct wpa_ft_ies *parse);
int wpa_cipher_key_len(int cipher);
int wpa_cipher_rsc_len(int cipher);
int wpa_cipher_to_alg(int cipher);
+int wpa_cipher_valid_group(int cipher);
int wpa_cipher_valid_pairwise(int cipher);
int wpa_cipher_valid_mgmt_group(int cipher);
u32 wpa_cipher_to_suite(int proto, int cipher);