/Linux-v4.19/net/mac80211/ |
D | tkip.c | 70 static u8 *write_tkip_iv(u8 *pos, u16 iv16) in write_tkip_iv() argument 72 *pos++ = iv16 >> 8; in write_tkip_iv() 73 *pos++ = ((iv16 >> 8) | 0x20) & 0x7f; in write_tkip_iv() 74 *pos++ = iv16 & 0xFF; in write_tkip_iv() 209 u16 iv16 = data[2] | (data[0] << 8); in ieee80211_get_tkip_p2k() local 213 tkip_mixing_phase2(tk, ctx, iv16, p2k); in ieee80211_get_tkip_p2k() 249 u32 iv16; in ieee80211_tkip_decrypt_data() local 258 iv16 = (pos[0] << 8) | pos[2]; in ieee80211_tkip_decrypt_data() 271 (iv32 == rx_ctx->iv32 && iv16 <= rx_ctx->iv16))) in ieee80211_tkip_decrypt_data() 298 tkip_mixing_phase2(tk, &rx_ctx->ctx, iv16, rc4key); in ieee80211_tkip_decrypt_data() [all …]
|
D | key.h | 55 u16 iv16; /* current iv16 */ member
|
D | key.c | 424 key->u.tkip.rx[i].iv16 = in ieee80211_key_alloc() 1009 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq() 1062 key->u.tkip.rx[tid].iv16 = seq->tkip.iv16; in ieee80211_set_key_rx_seq()
|
D | debugfs_key.c | 178 key->u.tkip.rx[i].iv16); in key_rx_spec_read()
|
D | cfg.c | 521 u16 iv16; in ieee80211_get_key() local 553 iv16 = TKIP_PN_TO_IV16(pn64); in ieee80211_get_key() 559 iv16 = kseq.tkip.iv16; in ieee80211_get_key() 562 seq[0] = iv16 & 0xff; in ieee80211_get_key() 563 seq[1] = (iv16 >> 8) & 0xff; in ieee80211_get_key()
|
D | wpa.c | 174 rx->key->u.tkip.rx[rx->security_idx].iv16 = rx->tkip_iv16; in ieee80211_rx_h_michael_mic_verify()
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 378 u16 iv16; in rtllib_tkip_decrypt() local 418 iv16 = (pos[0] << 8) | pos[2]; in rtllib_tkip_decrypt() 426 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) && in rtllib_tkip_decrypt() 432 tkey->rx_iv16, iv32, iv16); in rtllib_tkip_decrypt() 444 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in rtllib_tkip_decrypt() 494 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()
|
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 379 u16 iv16; in ieee80211_tkip_decrypt() local 416 iv16 = (pos[0] << 8) | pos[2]; in ieee80211_tkip_decrypt() 424 (iv32 == tkey->rx_iv32 && iv16 <= tkey->rx_iv16)) { in ieee80211_tkip_decrypt() 429 tkey->rx_iv32, tkey->rx_iv16, iv32, iv16); in ieee80211_tkip_decrypt() 439 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in ieee80211_tkip_decrypt() 491 tkey->rx_iv16_new = iv16; in ieee80211_tkip_decrypt() 709 u16 iv16 = tkey->tx_iv16; in ieee80211_tkip_get_key() local 712 if (iv16 == 0) in ieee80211_tkip_get_key() 714 iv16--; in ieee80211_tkip_get_key()
|
/Linux-v4.19/net/wireless/ |
D | lib80211_crypt_tkip.c | 407 u16 iv16; in lib80211_tkip_decrypt() local 444 iv16 = (pos[0] << 8) | pos[2]; in lib80211_tkip_decrypt() 448 if (tkip_replay_check(iv32, iv16, tkey->rx_iv32, tkey->rx_iv16)) { in lib80211_tkip_decrypt() 452 iv32, iv16); in lib80211_tkip_decrypt() 462 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in lib80211_tkip_decrypt() 501 tkey->rx_iv16_new = iv16; in lib80211_tkip_decrypt() 704 u16 iv16 = tkey->tx_iv16; in lib80211_tkip_get_key() local 706 if (iv16 == 0) in lib80211_tkip_get_key() 708 iv16--; in lib80211_tkip_get_key()
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 533 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument 540 PPK[5] = p1k[4] + iv16; /* next, add in IV16 */ in phase2() 563 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2() 564 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2() 565 rc4key[2] = Lo8(iv16); in phase2()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 259 tkip_tx_sc->iv16 = cpu_to_le16(TKIP_PN_TO_IV16(pn64)); in iwl_mvm_wowlan_program_keys() 285 tkip_sc[i].iv16 = cpu_to_le16(seq.tkip.iv16); in iwl_mvm_wowlan_program_keys() 1304 seq->tkip.iv16 = le16_to_cpu(sc->iv16); in iwl_mvm_tkip_sc_to_seq() 1437 (u64)seq.tkip.iv16 | in iwl_mvm_d3_update_keys()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 531 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()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | d3.h | 286 __le16 iv16; member
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 937 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()
|
D | commands.h | 3804 __le16 iv16; member
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 603 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument 612 PPK[5] = p1k[4]+iv16; /* next, add in IV16 */ in phase2() 635 rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */ in phase2() 636 rc4key[1] = (Hi8(iv16) | 0x20) & 0x7F; /* Help avoid weak (FMS) keys */ in phase2() 637 rc4key[2] = Lo8(iv16); in phase2()
|
/Linux-v4.19/drivers/net/wireless/st/cw1200/ |
D | sta.c | 757 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()
|
/Linux-v4.19/include/net/ |
D | mac80211.h | 1680 u16 iv16; member
|
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 9519 memcpy(&seq->tkip.iv16, &iveiv_entry.iv[0], 2); in rt2800_get_key_seq()
|