Lines Matching defs:cipher
207 switch (key->conf.cipher) {
532 ieee80211_key_alloc(u32 cipher, int idx, size_t key_len,
556 key->conf.cipher = cipher;
559 switch (cipher) {
620 if (cipher == WLAN_CIPHER_SUITE_AES_CMAC)
702 switch (key->conf.cipher) {
784 new->conf.cipher == WLAN_CIPHER_SUITE_TKIP &&
823 * the same cipher. Enforce the assumption for pairwise keys.
825 if ((alt_key && alt_key->conf.cipher != key->conf.cipher) ||
826 (old_key && old_key->conf.cipher != key->conf.cipher))
834 /* Non-pairwise keys must also not switch the cipher on rekey */
836 if (old_key && old_key->conf.cipher != key->conf.cipher)
1153 switch (key->conf.cipher) {
1206 switch (key->conf.cipher) {
1294 key = ieee80211_key_alloc(keyconf->cipher, keyconf->keyidx,