Searched defs:rc4key (Results 1 - 5 of 5) sorted by relevance

/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c306 u8 rc4key[16], *icv; local
322 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak,
338 *pos++ = rc4key[0];
339 *pos++ = rc4key[1];
340 *pos++ = rc4key[2];
360 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16);
388 u8 rc4key[16]; local
445 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16);
451 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/rtl8188eu/core/
H A Drtw_security.c505 * rc4key[] = the key used to encrypt the packet [128 bits]
519 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) argument
549 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */
550 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */
551 rc4key[2] = Lo8(iv16);
552 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1);
556 rc4key[4+2*i] = Lo8(PPK[i]);
557 rc4key[5+2*i] = Hi8(PPK[i]);
566 u8 rc4key[16]; local
611 phase2(&rc4key[
647 u8 rc4key[16]; local
[all...]
/drivers/staging/rtl8712/
H A Drtl871x_security.c519 * rc4key[] = the key used to encrypt the packet [128 bits]
533 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) argument
561 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */
562 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */
563 rc4key[2] = Lo8(iv16);
564 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1);
567 rc4key[4 + 2 * i] = Lo8(PPK[i]);
568 rc4key[5 + 2 * i] = Hi8(PPK[i]);
577 u8 rc4key[16]; local
614 phase2(&rc4key[
654 u8 rc4key[16]; local
[all...]
/drivers/staging/rtl8723au/core/
H A Drtw_security.c555 * rc4key[] = the key used to encrypt the packet [128 bits]
569 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) argument
599 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */
600 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */
601 rc4key[2] = Lo8(iv16);
602 rc4key[3] = Lo8((PPK[5] ^ TK16(0)) >> 1);
607 rc4key[4+2*i] = Lo8(PPK[i]);
608 rc4key[5+2*i] = Hi8(PPK[i]);
619 u8 rc4key[16]; local
678 phase2(&rc4key[
720 u8 rc4key[16]; local
[all...]

Completed in 123 milliseconds