Lines Matching defs:cipher
398 u32 cipher;
569 int cipher = priv->encr_keys[idx].cipher;
571 return (cipher == WLAN_CIPHER_SUITE_CCMP ||
572 cipher == WLAN_CIPHER_SUITE_TKIP);
575 static int rndis_cipher_to_alg(u32 cipher)
577 switch (cipher) {
1325 u32 cipher;
1335 cipher = WLAN_CIPHER_SUITE_WEP40;
1337 cipher = WLAN_CIPHER_SUITE_WEP104;
1367 priv->encr_keys[index].cipher = cipher;
1376 int seq_len, u32 cipher, __le32 flags)
1426 if (cipher == WLAN_CIPHER_SUITE_TKIP && key_len == 32) {
1459 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);