Lines Matching refs:pairwise
918 } else if (!group && sm->pairwise != WPA_CIPHER_TKIP) { in wpa_receive_error_report()
1112 if (sm->pairwise == WPA_CIPHER_CCMP || in wpa_receive()
1113 sm->pairwise == WPA_CIPHER_GCMP) { in wpa_receive()
1492 int version, pairwise; in __wpa_send_eapol() local
1507 else if (sm->pairwise != WPA_CIPHER_TKIP) in __wpa_send_eapol()
1512 pairwise = !!(key_info & WPA_KEY_INFO_KEY_TYPE); in __wpa_send_eapol()
1521 pairwise, kde_len, keyidx, encr); in __wpa_send_eapol()
1557 alg = pairwise ? sm->pairwise : conf->wpa_group; in __wpa_send_eapol()
1558 if (sm->wpa == WPA_VERSION_WPA2 && !pairwise) in __wpa_send_eapol()
1675 if (!pairwise && in __wpa_send_eapol()
1699 int pairwise = key_info & WPA_KEY_INFO_KEY_TYPE; in wpa_send_eapol() local
1708 ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr; in wpa_send_eapol()
1710 timeout_ms = pairwise ? eapol_key_timeout_first : in wpa_send_eapol()
1715 (!pairwise || (key_info & WPA_KEY_INFO_MIC))) in wpa_send_eapol()
1717 if (pairwise && ctr == 1 && !(key_info & WPA_KEY_INFO_MIC)) in wpa_send_eapol()
1769 wpa_auth_remove_ptksa(sm->wpa_auth, sm->addr, sm->pairwise); in wpa_remove_ptk()
2312 sm->pairwise, in wpa_derive_ptk()
2331 ptk, akmp, sm->pairwise, z, z_len, kdk_len); in wpa_derive_ptk()
2359 sm->wpa_key_mgmt, sm->pairwise, in fils_auth_pmk_to_ptk()
2857 alg = wpa_cipher_to_alg(sm->pairwise); in fils_set_tk()
2858 klen = wpa_cipher_key_len(sm->pairwise); in fils_set_tk()
2868 wpa_auth_store_ptksa(sm->wpa_auth, sm->addr, sm->pairwise, in fils_set_tk()
3436 wpa_cipher_to_alg(sm->pairwise), in SM_STATE()
3439 wpa_cipher_key_len(sm->pairwise), in SM_STATE()
3640 enum wpa_alg alg = wpa_cipher_to_alg(sm->pairwise); in SM_STATE()
3641 int klen = wpa_cipher_key_len(sm->pairwise); in SM_STATE()
3661 wpa_auth_store_ptksa(sm->wpa_auth, sm->addr, sm->pairwise, in SM_STATE()
4614 u32 pairwise = 0; in wpa_get_mib_sta() local
4623 pairwise = wpa_cipher_to_suite(sm->wpa == WPA_VERSION_WPA2 ? in wpa_get_mib_sta()
4625 sm->pairwise); in wpa_get_mib_sta()
4626 if (pairwise == 0) in wpa_get_mib_sta()
4642 RSN_SUITE_ARG(pairwise), in wpa_get_mib_sta()
4682 return sm->pairwise; in wpa_auth_get_pairwise()