Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_security.c362 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
367 p1k[0] = Lo16(iv32); in phase1()
368 p1k[1] = Hi16(iv32); in phase1()
369 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ in phase1()
370 p1k[3] = Mk16(ta[3], ta[2]); in phase1()
371 p1k[4] = Mk16(ta[5], ta[4]); in phase1()
377 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
378 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
379 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
380 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dlib.c854 static void iwlagn_convert_p1k(u16 *p1k, __le16 *out) in iwlagn_convert_p1k() argument
859 out[i] = cpu_to_le16(p1k[i]); in iwlagn_convert_p1k()
886 u16 p1k[IWLAGN_P1K_SIZE]; in iwlagn_wowlan_program_keys() local
917 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys()
918 iwlagn_convert_p1k(p1k, data->tkip->tx.p1k); in iwlagn_wowlan_program_keys()
946 ieee80211_get_tkip_rx_p1k(key, data->bssid, cur_rx_iv32, p1k); in iwlagn_wowlan_program_keys()
947 iwlagn_convert_p1k(p1k, rx_p1ks[0].p1k); in iwlagn_wowlan_program_keys()
949 cur_rx_iv32 + 1, p1k); in iwlagn_wowlan_program_keys()
950 iwlagn_convert_p1k(p1k, rx_p1ks[1].p1k); in iwlagn_wowlan_program_keys()
H A Dsta.c1207 u16 p1k[5]; in iwl_set_dynamic_key() local
1232 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key()
1234 seq.tkip.iv32, p1k, 0); in iwl_set_dynamic_key()
H A Dcommands.h3794 __le16 p1k[IWLAGN_P1K_SIZE]; member
/linux/net/mac80211/
H A Dkey.h47 u16 p1k[5]; /* p1k cache */ member
/linux/Documentation/input/devices/
H A Dyealink.rst2 Driver documentation for yealink usb-p1k phones
8 The p1k is a relatively cheap usb 1.1 phone with:
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c74 static void iwl_mvm_convert_p1k(u16 *p1k, __le16 *out) in iwl_mvm_convert_p1k() argument
79 out[i] = cpu_to_le16(p1k[i]); in iwl_mvm_convert_p1k()
536 u16 p1k[IWL_P1K_SIZE]; in iwl_mvm_wowlan_get_tkip_data() local
551 p1k); in iwl_mvm_wowlan_get_tkip_data()
552 iwl_mvm_convert_p1k(p1k, data->tkip.tx.p1k); in iwl_mvm_wowlan_get_tkip_data()
572 cur_rx_iv32, p1k); in iwl_mvm_wowlan_get_tkip_data()
573 iwl_mvm_convert_p1k(p1k, rx_p1ks[0].p1k); in iwl_mvm_wowlan_get_tkip_data()
575 cur_rx_iv32 + 1, p1k); in iwl_mvm_wowlan_get_tkip_data()
576 iwl_mvm_convert_p1k(p1k, rx_p1ks[1].p1k); in iwl_mvm_wowlan_get_tkip_data()
H A Dsta.c3821 u16 p1k[5]; in __iwl_mvm_set_sta_key() local
3849 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key()
3852 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
/linux/include/net/
H A Dmac80211.h5902 u32 iv32, u16 *p1k);
5916 struct sk_buff *skb, u16 *p1k) in ieee80211_get_tkip_p1k() argument
5922 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
5937 const u8 *ta, u32 iv32, u16 *p1k);
/linux/drivers/input/misc/
H A DKconfig441 tristate "Yealink usb-p1k voip phone"
446 Yealink usb-p1k usb phones. The audio part is enabled by the generic