Home
last modified time | relevance | path

Searched refs:tx_key (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/drivers/staging/vt6656/
Drxtx.c297 struct ieee80211_key_conf *tx_key = info->control.hw_key; in vnt_fill_txkey() local
306 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
308 switch (tx_key->cipher) { in vnt_fill_txkey()
311 memcpy(fifo->tx_key, iv, 3); in vnt_fill_txkey()
312 memcpy(fifo->tx_key + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
314 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
315 memcpy(fifo->tx_key + 8, iv, 3); in vnt_fill_txkey()
316 memcpy(fifo->tx_key + 11, in vnt_fill_txkey()
317 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
323 ieee80211_get_tkip_p2k(tx_key, skb, fifo->tx_key); in vnt_fill_txkey()
[all …]
Drxtx.h153 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/Linux-v5.15/net/tipc/
Dcrypto.c276 u8 tx_key, struct sk_buff *skb,
289 u8 tx_key);
291 static int tipc_crypto_key_revoke(struct net *net, u8 tx_key);
1038 u8 tx_key, struct sk_buff *skb, in tipc_ehdr_build() argument
1063 return tipc_crypto_key_revoke(net, tx_key); in tipc_ehdr_build()
1072 ehdr->tx_key = tx_key; in tipc_ehdr_build()
1320 u8 tx_key) in tipc_crypto_key_pick_tx() argument
1339 if (tx_key == KEY_MASTER) { in tipc_crypto_key_pick_tx()
1446 static int tipc_crypto_key_revoke(struct net *net, u8 tx_key) in tipc_crypto_key_revoke() argument
1453 WARN_ON(!key.active || tx_key != key.active); in tipc_crypto_key_revoke()
[all …]
Dcrypto.h129 tx_key:2; member
134 __u8 tx_key:2,
/Linux-v5.15/drivers/staging/vt6655/
Drxtx.c1149 struct ieee80211_key_conf *tx_key, in vnt_fill_txkey() argument
1158 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
1160 switch (tx_key->cipher) { in vnt_fill_txkey()
1164 memcpy(key_buffer + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
1166 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
1169 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
1174 ieee80211_get_tkip_p2k(tx_key, skb, key_buffer); in vnt_fill_txkey()
1186 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
1211 memcpy(key_buffer, tx_key->key, WLAN_KEY_LEN_CCMP); in vnt_fill_txkey()
1226 struct ieee80211_key_conf *tx_key; in vnt_generate_fifo_header() local
[all …]
Drxtx.h164 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/Linux-v5.15/drivers/net/wireless/intersil/orinoco/
Dwext.c242 int setindex = priv->tx_key; in orinoco_ioctl_setiwencode()
269 index = priv->tx_key; in orinoco_ioctl_setiwencode()
306 priv->tx_key = setindex; in orinoco_ioctl_setiwencode()
342 index = priv->tx_key; in orinoco_ioctl_getiwencode()
741 idx = priv->tx_key; in orinoco_ioctl_set_encodeext()
748 (void) orinoco_clear_tkip_key(priv, priv->tx_key); in orinoco_ioctl_set_encodeext()
752 priv->tx_key = idx; in orinoco_ioctl_set_encodeext()
839 idx = priv->tx_key; in orinoco_ioctl_get_encodeext()
Dorinoco.h120 u16 wep_restrict, tx_key; member
Dhw.c850 priv->tx_key); in __orinoco_hw_setup_wepkeys()
862 keylen = priv->keys[priv->tx_key].key_len; in __orinoco_hw_setup_wepkeys()
866 priv->ndev->name, priv->tx_key, keylen); in __orinoco_hw_setup_wepkeys()
893 priv->tx_key); in __orinoco_hw_setup_wepkeys()
Dmain.c366 key = (struct orinoco_tkip_key *) priv->keys[priv->tx_key].key; in orinoco_process_xmit_skb()
372 *tx_control |= (priv->tx_key << HERMES_MIC_KEY_ID_SHIFT) | in orinoco_process_xmit_skb()
2093 priv->tx_key = 0; in orinoco_init()
/Linux-v5.15/arch/um/drivers/
Dvector_transports.c31 uint32_t tx_key; member
103 (*(uint32_t *) (header + td->key_offset)) = td->tx_key; in gre_form_header()
275 td->tx_key = cpu_to_be32(temp_tx); in build_gre_transport_data()
/Linux-v5.15/net/wireless/
Dwext-compat.c411 const u8 *addr, bool remove, bool tx_key, in __cfg80211_set_encryption() argument
498 tx_key = false; in __cfg80211_set_encryption()
528 (tx_key || (!addr && wdev->wext.default_key == -1))) { in __cfg80211_set_encryption()
551 (tx_key || (!addr && wdev->wext.default_mgmt_key == -1))) { in __cfg80211_set_encryption()
564 const u8 *addr, bool remove, bool tx_key, in cfg80211_set_encryption() argument
571 remove, tx_key, idx, params); in cfg80211_set_encryption()
/Linux-v5.15/drivers/net/wireless/
Drndis_wlan.c402 bool tx_key; member
/Linux-v5.15/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst432 * ``tx_key=int`` - GRE 32 bit integer key for tx packets, if set