Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_security.c486 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
491 p1k[0] = Lo16(iv32); in phase1()
492 p1k[1] = Hi16(iv32); in phase1()
493 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ in phase1()
494 p1k[3] = Mk16(ta[3], ta[2]); in phase1()
495 p1k[4] = Mk16(ta[5], ta[4]); in phase1()
499 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
500 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
501 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
502 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_security.c468 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument
472 p1k[0] = Lo16(iv32); in phase1()
473 p1k[1] = Hi16(iv32); in phase1()
474 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ in phase1()
475 p1k[3] = Mk16(ta[3], ta[2]); in phase1()
476 p1k[4] = Mk16(ta[5], ta[4]); in phase1()
481 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
482 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
483 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
484 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c877 static void iwlagn_convert_p1k(u16 *p1k, __le16 *out) in iwlagn_convert_p1k() argument
882 out[i] = cpu_to_le16(p1k[i]); in iwlagn_convert_p1k()
909 u16 p1k[IWLAGN_P1K_SIZE]; in iwlagn_wowlan_program_keys() local
940 ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k); in iwlagn_wowlan_program_keys()
941 iwlagn_convert_p1k(p1k, data->tkip->tx.p1k); in iwlagn_wowlan_program_keys()
969 ieee80211_get_tkip_rx_p1k(key, data->bssid, cur_rx_iv32, p1k); in iwlagn_wowlan_program_keys()
970 iwlagn_convert_p1k(p1k, rx_p1ks[0].p1k); in iwlagn_wowlan_program_keys()
972 cur_rx_iv32 + 1, p1k); in iwlagn_wowlan_program_keys()
973 iwlagn_convert_p1k(p1k, rx_p1ks[1].p1k); in iwlagn_wowlan_program_keys()
Dsta.c1224 u16 p1k[5]; in iwl_set_dynamic_key() local
1249 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in iwl_set_dynamic_key()
1251 seq.tkip.iv32, p1k, 0); in iwl_set_dynamic_key()
Dcommands.h3868 __le16 p1k[IWLAGN_P1K_SIZE]; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c134 static void iwl_mvm_convert_p1k(u16 *p1k, __le16 *out) in iwl_mvm_convert_p1k() argument
139 out[i] = cpu_to_le16(p1k[i]); in iwl_mvm_convert_p1k()
186 u16 p1k[IWL_P1K_SIZE]; in iwl_mvm_wowlan_program_keys() local
266 p1k); in iwl_mvm_wowlan_program_keys()
267 iwl_mvm_convert_p1k(p1k, data->tkip->tx.p1k); in iwl_mvm_wowlan_program_keys()
296 cur_rx_iv32, p1k); in iwl_mvm_wowlan_program_keys()
297 iwl_mvm_convert_p1k(p1k, rx_p1ks[0].p1k); in iwl_mvm_wowlan_program_keys()
299 cur_rx_iv32 + 1, p1k); in iwl_mvm_wowlan_program_keys()
300 iwl_mvm_convert_p1k(p1k, rx_p1ks[1].p1k); in iwl_mvm_wowlan_program_keys()
Dfw-api-d3.h313 __le16 p1k[IWL_P1K_SIZE]; member
Dsta.c2780 u16 p1k[5]; in __iwl_mvm_set_sta_key() local
2787 ieee80211_get_tkip_rx_p1k(keyconf, addr, seq.tkip.iv32, p1k); in __iwl_mvm_set_sta_key()
2789 seq.tkip.iv32, p1k, 0, key_offset); in __iwl_mvm_set_sta_key()
/drivers/input/misc/
DKconfig430 tristate "Yealink usb-p1k voip phone"
435 Yealink usb-p1k usb phones. The audio part is enabled by the generic