Lines Matching refs:cipher
108 int cipher; /* Selected cipher (WPA_CIPHER_*) */ member
230 switch (peer->cipher) { in wpa_tdls_set_key()
744 peer->cipher = 0; in wpa_tdls_peer_clear()
1948 int cipher; in wpa_tdls_process_tpk_m1() local
2145 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m1()
2146 if (cipher & WPA_CIPHER_CCMP) { in wpa_tdls_process_tpk_m1()
2148 cipher = WPA_CIPHER_CCMP; in wpa_tdls_process_tpk_m1()
2199 peer->cipher = WPA_CIPHER_NONE; in wpa_tdls_process_tpk_m1()
2206 peer->cipher = cipher; in wpa_tdls_process_tpk_m1()
2248 if (cipher == WPA_CIPHER_CCMP) in wpa_tdls_process_tpk_m1()
2361 int cipher; in wpa_tdls_process_tpk_m2() local
2504 peer->cipher = WPA_CIPHER_NONE; in wpa_tdls_process_tpk_m2()
2548 cipher = ie.pairwise_cipher; in wpa_tdls_process_tpk_m2()
2549 if (cipher == WPA_CIPHER_CCMP) { in wpa_tdls_process_tpk_m2()
2551 cipher = WPA_CIPHER_CCMP; in wpa_tdls_process_tpk_m2()
2573 peer->cipher = cipher; in wpa_tdls_process_tpk_m2()