Home
last modified time | relevance | path

Searched refs:set_key (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.6.21/drivers/staging/vt6656/
Dmac.c58 struct vnt_mac_set_key set_key; in vnt_mac_set_keyentry() local
64 set_key.u.write.key_ctl = cpu_to_le16(key_ctl); in vnt_mac_set_keyentry()
65 ether_addr_copy(set_key.u.write.addr, addr); in vnt_mac_set_keyentry()
68 swap(set_key.u.swap[0], set_key.u.swap[1]); in vnt_mac_set_keyentry()
70 memcpy(set_key.key, key, WLAN_KEY_LEN_CCMP); in vnt_mac_set_keyentry()
73 offset, key_ctl, (u8 *)&set_key); in vnt_mac_set_keyentry()
77 (u8 *)&set_key); in vnt_mac_set_keyentry()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_lookup_and_delete.c7 __u64 set_key = 0; variable
21 bpf_map_update_elem(&hash_map, &set_key, &set_value, BPF_NOEXIST); in bpf_lookup_and_delete_test()
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c459 int (*set_key) (struct rt2x00_dev *rt2x00dev, in rt2x00mac_set_key() local
527 set_key = rt2x00dev->ops->lib->config_pairwise_key; in rt2x00mac_set_key()
529 set_key = rt2x00dev->ops->lib->config_shared_key; in rt2x00mac_set_key()
531 if (!set_key) in rt2x00mac_set_key()
534 return set_key(rt2x00dev, &crypto, key); in rt2x00mac_set_key()
Drt2800soc.c143 .set_key = rt2x00mac_set_key,
Drt2800pci.c298 .set_key = rt2x00mac_set_key,
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.h52 int (*set_key)(void *key, int len, u8 *seq, void *priv); member
Dieee80211_wx.c375 (*crypt)->ops->set_key(sec.keys[key], len, NULL, in ieee80211_wx_set_encode()
396 (*crypt)->ops->set_key(sec.keys[key], 13, NULL, in ieee80211_wx_set_encode()
604 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext()
605 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext()
Dieee80211_crypt_wep.c230 .set_key = prism2_wep_set_key,
Dieee80211_crypt.c190 .set_key = NULL,
Dieee80211_crypt_ccmp.c405 .set_key = ieee80211_ccmp_set_key,
/linux-6.6.21/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c803 struct rsi_set_key *set_key; in rsi_hal_load_key() local
817 set_key = (struct rsi_set_key *)skb->data; in rsi_hal_load_key()
838 rsi_set_len_qno(&set_key->desc_dword0.len_qno, in rsi_hal_load_key()
840 set_key->desc_dword0.frame_type = SET_KEY_REQ; in rsi_hal_load_key()
841 set_key->key_desc = cpu_to_le16(key_descriptor); in rsi_hal_load_key()
842 set_key->sta_id = sta_id; in rsi_hal_load_key()
847 memcpy(&set_key->key[key_id][1], data, key_len * 2); in rsi_hal_load_key()
849 memcpy(&set_key->key[0][0], data, key_len); in rsi_hal_load_key()
851 memcpy(set_key->tx_mic_key, &data[16], 8); in rsi_hal_load_key()
852 memcpy(set_key->rx_mic_key, &data[24], 8); in rsi_hal_load_key()
[all …]
/linux-6.6.21/include/net/
Dlib80211.h71 int (*set_key) (void *key, int len, u8 * seq, void *priv); member
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dhw_ops.h184 if (!wl->ops->set_key) in wlcore_hw_set_key()
187 return wl->ops->set_key(wl, cmd, vif, sta, key_conf); in wlcore_hw_set_key()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c407 (*crypt)->ops->set_key(sec.keys[key], len, NULL, in libipw_wx_set_encode()
424 (*crypt)->ops->set_key(sec.keys[key], 13, NULL, in libipw_wx_set_encode()
620 if (ext->key_len > 0 && (*crypt)->ops->set_key && in libipw_wx_set_encodeext()
621 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in libipw_wx_set_encodeext()
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_wx.c372 (*crypt)->ops->set_key(sec.keys[key], len, NULL, in rtllib_wx_set_encode()
390 (*crypt)->ops->set_key(sec.keys[key], 13, NULL, in rtllib_wx_set_encode()
580 if (ext->key_len > 0 && (*crypt)->ops->set_key && in rtllib_wx_set_encode_ext()
581 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in rtllib_wx_set_encode_ext()
Drtllib_crypt_wep.c220 .set_key = prism2_wep_set_key,
Drtllib_crypt_ccmp.c390 .set_key = rtllib_ccmp_set_key,
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt76x2/
Dusb_main.c113 .set_key = mt76x02_set_key,
Dpci_main.c145 .set_key = mt76x02_set_key,
/linux-6.6.21/net/wireless/
Dlib80211_crypt_wep.c237 .set_key = lib80211_wep_set_key,
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dlookup_and_delete.c84 skel->bss->set_key = key; in trigger_tp()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt76x0/
Dpci.c72 .set_key = mt76x02_set_key,
Dusb.c131 .set_key = mt76x02_set_key,
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/
Dwext.c741 int idx, alg = ext->alg, set_key = 1; in orinoco_ioctl_set_encodeext() local
767 set_key = ((alg == IW_ENCODE_ALG_TKIP) || in orinoco_ioctl_set_encodeext()
771 if (set_key) { in orinoco_ioctl_set_encodeext()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c117 .set_key = rtl92c_set_key,

1234