Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vt6656/
H A Drxtx.c295 struct ieee80211_key_conf *tx_key = info->control.hw_key; in vnt_fill_txkey() local
304 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
306 switch (tx_key->cipher) { in vnt_fill_txkey()
309 memcpy(fifo->tx_key, iv, 3); in vnt_fill_txkey()
310 memcpy(fifo->tx_key + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
312 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
313 memcpy(fifo->tx_key + 8, iv, 3); in vnt_fill_txkey()
314 memcpy(fifo->tx_key + 11, in vnt_fill_txkey()
315 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
321 ieee80211_get_tkip_p2k(tx_key, skb, fifo->tx_key); in vnt_fill_txkey()
[all …]
H A Drxtx.h153 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/openbmc/linux/net/tipc/
H A 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);
1031 u8 tx_key, struct sk_buff *skb, in tipc_ehdr_build() argument
1056 return tipc_crypto_key_revoke(net, tx_key); in tipc_ehdr_build()
1065 ehdr->tx_key = tx_key; in tipc_ehdr_build()
1313 u8 tx_key) in tipc_crypto_key_pick_tx() argument
1332 if (tx_key == KEY_MASTER) { in tipc_crypto_key_pick_tx()
1439 static int tipc_crypto_key_revoke(struct net *net, u8 tx_key) in tipc_crypto_key_revoke() argument
1446 WARN_ON(!key.active || tx_key != key.active); in tipc_crypto_key_revoke()
[all …]
H A Dcrypto.h129 tx_key:2; member
134 __u8 tx_key:2,
/openbmc/linux/drivers/staging/vt6655/
H A 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 …]
H A Drxtx.h164 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dwext.c245 int setindex = priv->tx_key; in orinoco_ioctl_setiwencode()
272 index = priv->tx_key; in orinoco_ioctl_setiwencode()
309 priv->tx_key = setindex; in orinoco_ioctl_setiwencode()
346 index = priv->tx_key; in orinoco_ioctl_getiwencode()
755 idx = priv->tx_key; in orinoco_ioctl_set_encodeext()
762 (void) orinoco_clear_tkip_key(priv, priv->tx_key); in orinoco_ioctl_set_encodeext()
766 priv->tx_key = idx; in orinoco_ioctl_set_encodeext()
853 idx = priv->tx_key; in orinoco_ioctl_get_encodeext()
H A 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()
H A Dorinoco.h120 u16 wep_restrict, tx_key; member
H A 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()
/openbmc/linux/arch/um/drivers/
H A 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()
/openbmc/linux/net/wireless/
H A Dwext-compat.c420 const u8 *addr, bool remove, bool tx_key, in __cfg80211_set_encryption() argument
512 tx_key = false; in __cfg80211_set_encryption()
544 (tx_key || (!addr && wdev->wext.default_key == -1))) { in __cfg80211_set_encryption()
570 (tx_key || (!addr && wdev->wext.default_mgmt_key == -1))) { in __cfg80211_set_encryption()
585 const u8 *addr, bool remove, bool tx_key, in cfg80211_set_encryption() argument
592 remove, tx_key, idx, params); in cfg80211_set_encryption()
/openbmc/linux/drivers/net/wireless/legacy/
H A Drndis_wlan.c402 bool tx_key; member
/openbmc/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst437 * ``tx_key=int`` - GRE 32-bit integer key for tx packets, if set