aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-30 17:33:39 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-31 07:16:27 (GMT)
commit4848a38d85bcfdc84a94143fe4437ac588f7e107 (patch)
treec21083d9cca4ca8681efd2f06a3f4c6fe6182004 /src/common/wpa_common.h
parentde4ed4a89b1fedadddbe96af9ec83f5eaeb11991 (diff)
downloadhostap-4848a38d85bcfdc84a94143fe4437ac588f7e107.zip
hostap-4848a38d85bcfdc84a94143fe4437ac588f7e107.tar.gz
hostap-4848a38d85bcfdc84a94143fe4437ac588f7e107.tar.bz2
Get rid of duplicated cipher suite and AKM definitions
WPA_CIPHER_* and CIPHER_* are used for the exact same set of cipher suites with the main difference being that the WPA_CIPHER_* version is suitable to be used as a bitfield. Similarly, WPA_KEY_MGMT_* and KEY_MGMT_* have similar design for AKMs. There is no need to maintain two separate copies of the definitions since the bitfield compatible version can be used for both needs. Get rid of the CIPHER_* and KEY_MGMT_* versions to clean up the implementation by getting rid of unnecessary mapping functions. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index d3f61a2..62505f1 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -403,7 +403,6 @@ 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);
-enum wpa_cipher wpa_cipher_to_suite_driver(int cipher);
int wpa_cipher_valid_pairwise(int cipher);
u32 wpa_cipher_to_suite(int proto, int cipher);
int rsn_cipher_put_suites(u8 *pos, int ciphers);