Lines Matching defs:cipher
211 switch (key->conf.cipher) {
461 is_wep = new->conf.cipher == WLAN_CIPHER_SUITE_WEP40 ||
462 new->conf.cipher == WLAN_CIPHER_SUITE_WEP104;
466 is_wep = old->conf.cipher == WLAN_CIPHER_SUITE_WEP40 ||
467 old->conf.cipher == WLAN_CIPHER_SUITE_WEP104;
591 ieee80211_key_alloc(u32 cipher, int idx, size_t key_len,
615 key->conf.cipher = cipher;
618 switch (cipher) {
679 if (cipher == WLAN_CIPHER_SUITE_AES_CMAC)
746 switch (key->conf.cipher) {
831 new->conf.cipher == WLAN_CIPHER_SUITE_TKIP &&
871 * the same cipher. Enforce the assumption for pairwise keys.
873 if ((alt_key && alt_key->conf.cipher != key->conf.cipher) ||
874 (old_key && old_key->conf.cipher != key->conf.cipher)) {
901 /* Non-pairwise keys must also not switch the cipher on rekey */
903 if (old_key && old_key->conf.cipher != key->conf.cipher) {
1254 switch (key->conf.cipher) {
1307 switch (key->conf.cipher) {
1395 key = ieee80211_key_alloc(keyconf->cipher, keyconf->keyidx,
1419 switch (key->conf.cipher) {
1441 switch (key->conf.cipher) {