Home
last modified time | relevance | path

Searched refs:iv16 (Results 1 – 10 of 10) sorted by relevance

/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c388 u16 iv16; in ieee80211_tkip_decrypt() local
425 iv16 = (pos[0] << 8) | pos[2]; in ieee80211_tkip_decrypt()
433 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt()
438 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt()
448 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in ieee80211_tkip_decrypt()
500 tkey->rx_iv16_new = iv16; in ieee80211_tkip_decrypt()
717 u16 iv16 = tkey->tx_iv16; in ieee80211_tkip_get_key() local
720 if (iv16 == 0) in ieee80211_tkip_get_key()
722 iv16--; in ieee80211_tkip_get_key()
/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c380 u16 iv16; in rtllib_tkip_decrypt() local
420 iv16 = (pos[0] << 8) | pos[2]; in rtllib_tkip_decrypt()
428 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt()
434 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt()
446 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in rtllib_tkip_decrypt()
496 tkey->rx_iv16_new = iv16; in rtllib_tkip_decrypt()
710 u16 iv16 = tkey->tx_iv16; in rtllib_tkip_get_key() local
713 if (iv16 == 0) in rtllib_tkip_get_key()
715 iv16--; in rtllib_tkip_get_key()
/drivers/staging/rtl8712/
Drtl871x_security.c531 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument
539 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()
559 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
560 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
561 rc4key[2] = Lo8(iv16); in phase2()
/drivers/staging/rtl8188eu/core/
Drtw_security.c513 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument
520 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2()
543 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2()
544 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2()
545 rc4key[2] = Lo8(iv16); in phase2()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c262 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwl_mvm_wowlan_program_keys()
288 tkip_sc[i].iv16 = cpu_to_le16(seq.tkip.iv16); in iwl_mvm_wowlan_program_keys()
1501 seq->tkip.iv16 = le16_to_cpu(sc->iv16); in iwl_mvm_tkip_sc_to_seq()
1634 (u64)seq.tkip.iv16 | in iwl_mvm_d3_update_keys()
Dfw-api-d3.h274 __le16 iv16; member
/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c937 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwlagn_wowlan_program_keys()
962 tkip_sc[i].iv16 = cpu_to_le16(seq.tkip.iv16); in iwlagn_wowlan_program_keys()
Dcommands.h3826 __le16 iv16; member
/drivers/net/wireless/st/cw1200/
Dsta.c757 wsm_key->tkip_group.rx_seqnum[0] = seq.tkip.iv16 & 0xff; in cw1200_set_key()
758 wsm_key->tkip_group.rx_seqnum[1] = (seq.tkip.iv16 >> 8) & 0xff; in cw1200_set_key()
/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c7815 memcpy(&seq->tkip.iv16, &iveiv_entry.iv[0], 2); in rt2800_get_key_seq()