Lines Matching defs:cipher
398 u32 cipher;
571 int cipher = priv->encr_keys[idx].cipher;
573 return (cipher == WLAN_CIPHER_SUITE_CCMP ||
574 cipher == WLAN_CIPHER_SUITE_TKIP);
577 static int rndis_cipher_to_alg(u32 cipher)
579 switch (cipher) {
1324 u32 cipher;
1334 cipher = WLAN_CIPHER_SUITE_WEP40;
1336 cipher = WLAN_CIPHER_SUITE_WEP104;
1366 priv->encr_keys[index].cipher = cipher;
1375 int seq_len, u32 cipher, __le32 flags)
1425 if (cipher == WLAN_CIPHER_SUITE_TKIP && key_len == 32) {
1458 priv->encr_keys[index].cipher = cipher;
2148 netdev_err(usbdev->net, "Unsupported pairwise cipher\n");
2384 __func__, key_index, mac_addr, params->cipher);
2386 switch (params->cipher) {
2403 params->seq_len, params->cipher, flags);
2405 netdev_dbg(usbdev->net, "%s(): unsupported cipher %08x\n",
2406 __func__, params->cipher);