Searched refs:rc4key (Results 1 - 4 of 4) sorted by relevance

/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt_tkip.c312 u8 rc4key[16],*icv; local
329 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16);
336 *pos++ = rc4key[0];
337 *pos++ = rc4key[1];
338 *pos++ = rc4key[2];
351 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16);
374 u8 rc4key[16]; local
424 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16);
427 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c305 u8 rc4key[16], *icv; local
321 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak,
337 *pos++ = rc4key[0];
338 *pos++ = rc4key[1];
339 *pos++ = rc4key[2];
359 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16);
387 u8 rc4key[16]; local
443 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16);
449 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c314 u8 rc4key[16], *icv; local
331 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16);
350 *pos++ = rc4key[0];
351 *pos++ = rc4key[1];
352 *pos++ = rc4key[2];
369 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16);
397 u8 rc4key[16]; local
451 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16);
455 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
/drivers/staging/rtl8712/
H A Drtl871x_security.c520 * rc4key[] = the key used to encrypt the packet [128 bits]
534 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) argument
562 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */
563 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */
564 rc4key[2] = Lo8(iv16);
565 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1);
568 rc4key[4 + 2 * i] = Lo8(PPK[i]);
569 rc4key[5 + 2 * i] = Hi8(PPK[i]);
578 u8 rc4key[16]; local
615 phase2(&rc4key[
655 u8 rc4key[16]; local
[all...]

Completed in 103 milliseconds