Home
last modified time | relevance | path

Searched refs:arc4_setkey (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/lib/crypto/
Darc4.c13 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len) in arc4_setkey() function
35 EXPORT_SYMBOL(arc4_setkey);
/linux-6.1.9/include/crypto/
Darc4.h20 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len);
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c118 arc4_setkey(&wep->tx_ctx_arc4, key, klen); in prism2_wep_encrypt()
163 arc4_setkey(&wep->rx_ctx_arc4, key, klen); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c325 arc4_setkey(&tkey->tx_ctx_arc4, rc4key, 16); in ieee80211_tkip_encrypt()
403 arc4_setkey(&tkey->rx_ctx_arc4, rc4key, 16); in ieee80211_tkip_decrypt()
/linux-6.1.9/net/wireless/
Dlib80211_crypt_wep.c138 arc4_setkey(&wep->tx_ctx, key, klen); in lib80211_wep_encrypt()
177 arc4_setkey(&wep->rx_ctx, key, klen); in lib80211_wep_decrypt()
Dlib80211_crypt_tkip.c357 arc4_setkey(&tkey->tx_ctx_arc4, rc4key, 16); in lib80211_tkip_encrypt()
439 arc4_setkey(&tkey->rx_ctx_arc4, rc4key, 16); in lib80211_tkip_decrypt()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c116 arc4_setkey(&wep->tx_ctx_arc4, key, klen); in prism2_wep_encrypt()
162 arc4_setkey(&wep->rx_ctx_arc4, key, klen); in prism2_wep_decrypt()
Drtllib_crypt_tkip.c326 arc4_setkey(&tkey->tx_ctx_arc4, rc4key, 16); in rtllib_tkip_encrypt()
414 arc4_setkey(&tkey->rx_ctx_arc4, rc4key, 16); in rtllib_tkip_decrypt()
/linux-6.1.9/crypto/
Darc4.c23 return arc4_setkey(ctx, in_key, key_len); in crypto_arc4_setkey()
/linux-6.1.9/net/mac80211/
Dwep.c116 arc4_setkey(ctx, rc4key, klen); in ieee80211_wep_encrypt_data()
170 arc4_setkey(ctx, rc4key, klen); in ieee80211_wep_decrypt_data()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_security.c55 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt()
61 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt()
98 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_decrypt()
495 arc4_setkey(ctx, rc4key, 16); in rtw_tkip_encrypt()
502 arc4_setkey(ctx, rc4key, 16); in rtw_tkip_encrypt()
569 arc4_setkey(ctx, rc4key, 16); in rtw_tkip_decrypt()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_security.c76 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt()
83 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt()
122 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_decrypt()
511 arc4_setkey(ctx, rc4key, 16); in rtw_tkip_encrypt()
519 arc4_setkey(ctx, rc4key, 16); in rtw_tkip_encrypt()
618 arc4_setkey(ctx, rc4key, 16); in rtw_tkip_decrypt()
/linux-6.1.9/drivers/net/ppp/
Dppp_mppe.c153 arc4_setkey(&state->arc4, state->sha1_digest, state->keylen); in mppe_rekey()
165 arc4_setkey(&state->arc4, state->session_key, state->keylen); in mppe_rekey()