Lines Matching defs:rc4key
139 u8 *rc4key)
164 rc4key[0] = Hi8(tsc_IV16);
165 rc4key[1] = (Hi8(tsc_IV16) | 0x20) & 0x7f;
166 rc4key[2] = Lo8(tsc_IV16);
167 rc4key[3] = Lo8((ppk[5] ^ Mk16(tk[1], tk[0])) >> 1);
170 rc4key[4 + 2 * i] = Lo8(ppk[i]);
171 rc4key[5 + 2 * i] = Hi8(ppk[i]);
202 u8 *rc4key)
213 key->u.tkip.iv16, rc4key);
225 u8 rc4key[16];
227 ieee80211_tkip_gen_rc4key(key, ta, rc4key);
228 pos = ieee80211_tkip_add_iv(pos, key, rc4key[0], rc4key[1], rc4key[2]);
229 ieee80211_wep_encrypt_data(tfm, rc4key, 16, pos, payload_len);
244 u8 rc4key[16], keyid, *pos = payload;
317 iv16, rc4key);
321 printk(KERN_DEBUG "TKIP decrypt: Phase2 rc4key=");
323 printk("%02x ", rc4key[i]);
328 res = ieee80211_wep_decrypt_data(tfm, rc4key, 16, pos, payload_len - 12);