aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-01-13 14:58:54 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-13 14:58:54 (GMT)
commitedbd2a191e7cfd518f7a9df51690a54e10928c33 (patch)
tree1d5f67fec9fc3caf128116a050620162ce533fcb /src/common/wpa_common.h
parent9aadb8774e1065ad2648e2526de296b5f8905ce1 (diff)
downloadhostap-edbd2a191e7cfd518f7a9df51690a54e10928c33.zip
hostap-edbd2a191e7cfd518f7a9df51690a54e10928c33.tar.gz
hostap-edbd2a191e7cfd518f7a9df51690a54e10928c33.tar.bz2
Move cipher suite selection into common helper functions
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index 20c79d8..99b3a22 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -1,6 +1,6 @@
/*
* WPA definitions shared between hostapd and wpa_supplicant
- * Copyright (c) 2002-2008, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
@@ -390,5 +390,7 @@ 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);
int wpa_cipher_put_suites(u8 *pos, int ciphers);
+int wpa_pick_pairwise_cipher(int ciphers, int none_allowed);
+int wpa_pick_group_cipher(int ciphers);
#endif /* WPA_COMMON_H */