Home
last modified time | relevance | path

Searched refs:keyindex (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c28 u32 keyindex; in arcfour_init() local
38 keyindex = 0; in arcfour_init()
42 stateindex = (stateindex + key[keyindex] + t) & 0xff; in arcfour_init()
46 if (++keyindex >= key_len) in arcfour_init()
47 keyindex = 0; in arcfour_init()
140 const int keyindex = psecuritypriv->dot11PrivacyKeyIndex; in rtw_wep_encrypt() local
161 crypto_private = crypto_ops->init(keyindex); in rtw_wep_encrypt()
165 if (crypto_ops->set_key(psecuritypriv->dot11DefKey[keyindex].skey, in rtw_wep_encrypt()
166 psecuritypriv->dot11DefKeylen[keyindex], NULL, crypto_private) < 0) in rtw_wep_encrypt()
211 const int keyindex = prxattrib->key_index; in rtw_wep_decrypt() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_security.c50 u32 keyindex; in arcfour_init() local
60 keyindex = 0; in arcfour_init()
64 stateindex = (stateindex + key[keyindex] + t) & 0xff; in arcfour_init()
68 if (++keyindex >= key_len) in arcfour_init()
69 keyindex = 0; in arcfour_init()
215 u8 keyindex; in r8712_wep_decrypt() local
226 keyindex = (iv[3] & 0x3); in r8712_wep_decrypt()
227 keylength = psecuritypriv->DefKeylen[keyindex]; in r8712_wep_decrypt()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c101 u32 keyindex; in arcfour_init() local
111 keyindex = 0; in arcfour_init()
115 stateindex = (stateindex + key[keyindex] + t) & 0xff; in arcfour_init()
119 if (++keyindex >= key_len) in arcfour_init()
120 keyindex = 0; in arcfour_init()
279 u8 keyindex; in rtw_wep_decrypt() local
289 keyindex = prxattrib->key_index; in rtw_wep_decrypt()
290 keylength = psecuritypriv->dot11DefKeylen[keyindex]; in rtw_wep_decrypt()
293 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dhost.h548 __le16 keyindex; member
Dcfg.c861 cmd.keyindex = cpu_to_le16(priv->wep_tx_key); in lbs_remove_wep_keys()
902 cmd.keyindex = cpu_to_le16(priv->wep_tx_key); in lbs_set_wep_keys()
/kernel/linux/linux-5.10/drivers/net/wireless/
Drndis_wlan.c1508 __le32 keyindex; in remove_key() local
1546 keyindex = cpu_to_le32(index); in remove_key()
1549 &keyindex, sizeof(keyindex)); in remove_key()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr8192U_core.c4879 void setKey(struct net_device *dev, u8 entryno, u8 keyindex, u16 keytype, in setKey() argument
4892 __func__, dev, entryno, keyindex, keytype, macaddr); in setKey()
4897 us_config |= BIT(15) | (keytype << 2) | keyindex; in setKey()
/kernel/linux/linux-5.10/drivers/net/wireless/cisco/
Dairo.c1172 char keyindex; // Used with auto wep member
5567 if (apriv->keyindex < auto_wep) { in timer_func()
5568 set_wep_tx_idx(apriv, apriv->keyindex, 0, 0); in timer_func()
5570 apriv->keyindex++; in timer_func()
5573 apriv->keyindex = 0; in timer_func()