Lines Matching refs:cipher
416 u32 cipher; member
587 int cipher = priv->encr_keys[idx].cipher; in is_wpa_key() local
589 return (cipher == WLAN_CIPHER_SUITE_CCMP || in is_wpa_key()
590 cipher == WLAN_CIPHER_SUITE_TKIP); in is_wpa_key()
593 static int rndis_cipher_to_alg(u32 cipher) in rndis_cipher_to_alg() argument
595 switch (cipher) { in rndis_cipher_to_alg()
1350 u32 cipher; in add_wep_key() local
1360 cipher = WLAN_CIPHER_SUITE_WEP40; in add_wep_key()
1362 cipher = WLAN_CIPHER_SUITE_WEP104; in add_wep_key()
1392 priv->encr_keys[index].cipher = cipher; in add_wep_key()
1401 int seq_len, u32 cipher, __le32 flags) in add_wpa_key() argument
1451 if (cipher == WLAN_CIPHER_SUITE_TKIP && key_len == 32) { in add_wpa_key()
1484 priv->encr_keys[index].cipher = cipher; in add_wpa_key()
2409 __func__, key_index, mac_addr, params->cipher); in rndis_add_key()
2411 switch (params->cipher) { in rndis_add_key()
2428 params->seq_len, params->cipher, flags); in rndis_add_key()
2431 __func__, params->cipher); in rndis_add_key()