Lines Matching refs:ciphers
3117 int rsn_cipher_put_suites(u8 *start, int ciphers) in rsn_cipher_put_suites() argument
3121 if (ciphers & WPA_CIPHER_CCMP_256) { in rsn_cipher_put_suites()
3125 if (ciphers & WPA_CIPHER_GCMP_256) { in rsn_cipher_put_suites()
3129 if (ciphers & WPA_CIPHER_CCMP) { in rsn_cipher_put_suites()
3133 if (ciphers & WPA_CIPHER_GCMP) { in rsn_cipher_put_suites()
3137 if (ciphers & WPA_CIPHER_TKIP) { in rsn_cipher_put_suites()
3141 if (ciphers & WPA_CIPHER_NONE) { in rsn_cipher_put_suites()
3150 int wpa_cipher_put_suites(u8 *start, int ciphers) in wpa_cipher_put_suites() argument
3154 if (ciphers & WPA_CIPHER_CCMP) { in wpa_cipher_put_suites()
3158 if (ciphers & WPA_CIPHER_TKIP) { in wpa_cipher_put_suites()
3162 if (ciphers & WPA_CIPHER_NONE) { in wpa_cipher_put_suites()
3171 int wpa_pick_pairwise_cipher(int ciphers, int none_allowed) in wpa_pick_pairwise_cipher() argument
3173 if (ciphers & WPA_CIPHER_CCMP_256) in wpa_pick_pairwise_cipher()
3175 if (ciphers & WPA_CIPHER_GCMP_256) in wpa_pick_pairwise_cipher()
3177 if (ciphers & WPA_CIPHER_CCMP) in wpa_pick_pairwise_cipher()
3179 if (ciphers & WPA_CIPHER_GCMP) in wpa_pick_pairwise_cipher()
3181 if (ciphers & WPA_CIPHER_TKIP) in wpa_pick_pairwise_cipher()
3183 if (none_allowed && (ciphers & WPA_CIPHER_NONE)) in wpa_pick_pairwise_cipher()
3189 int wpa_pick_group_cipher(int ciphers) in wpa_pick_group_cipher() argument
3191 if (ciphers & WPA_CIPHER_CCMP_256) in wpa_pick_group_cipher()
3193 if (ciphers & WPA_CIPHER_GCMP_256) in wpa_pick_group_cipher()
3195 if (ciphers & WPA_CIPHER_CCMP) in wpa_pick_group_cipher()
3197 if (ciphers & WPA_CIPHER_GCMP) in wpa_pick_group_cipher()
3199 if (ciphers & WPA_CIPHER_GTK_NOT_USED) in wpa_pick_group_cipher()
3201 if (ciphers & WPA_CIPHER_TKIP) in wpa_pick_group_cipher()
3272 int wpa_write_ciphers(char *start, char *end, int ciphers, const char *delim) in wpa_write_ciphers() argument
3277 if (ciphers & WPA_CIPHER_CCMP_256) { in wpa_write_ciphers()
3284 if (ciphers & WPA_CIPHER_GCMP_256) { in wpa_write_ciphers()
3291 if (ciphers & WPA_CIPHER_CCMP) { in wpa_write_ciphers()
3298 if (ciphers & WPA_CIPHER_GCMP) { in wpa_write_ciphers()
3305 if (ciphers & WPA_CIPHER_TKIP) { in wpa_write_ciphers()
3312 if (ciphers & WPA_CIPHER_AES_128_CMAC) { in wpa_write_ciphers()
3319 if (ciphers & WPA_CIPHER_BIP_GMAC_128) { in wpa_write_ciphers()
3326 if (ciphers & WPA_CIPHER_BIP_GMAC_256) { in wpa_write_ciphers()
3333 if (ciphers & WPA_CIPHER_BIP_CMAC_256) { in wpa_write_ciphers()
3340 if (ciphers & WPA_CIPHER_NONE) { in wpa_write_ciphers()