Home
last modified time | relevance | path

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

/Linux-v6.1/lib/crypto/
Darc4.c37 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len) in arc4_crypt() function
72 EXPORT_SYMBOL(arc4_crypt);
/Linux-v6.1/drivers/net/ppp/
Dppp_mppe.c154 arc4_crypt(&state->arc4, state->session_key, state->sha1_digest, in mppe_rekey()
392 arc4_crypt(&state->arc4, obuf, ibuf, isize); in mppe_compress()
566 arc4_crypt(&state->arc4, obuf, ibuf, 1); in mppe_decompress()
581 arc4_crypt(&state->arc4, obuf + 1, ibuf + 1, isize - 1); in mppe_decompress()
/Linux-v6.1/include/crypto/
Darc4.h21 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len);
/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_security.c56 arc4_crypt(ctx, payload, payload, length); in rtw_wep_encrypt()
57 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_wep_encrypt()
62 arc4_crypt(ctx, payload, payload, length); in rtw_wep_encrypt()
63 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_wep_encrypt()
99 arc4_crypt(ctx, payload, payload, length); in rtw_wep_decrypt()
496 arc4_crypt(ctx, payload, payload, length); in rtw_tkip_encrypt()
497 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_tkip_encrypt()
503 arc4_crypt(ctx, payload, payload, length); in rtw_tkip_encrypt()
504 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_tkip_encrypt()
570 arc4_crypt(ctx, payload, payload, length); in rtw_tkip_decrypt()
/Linux-v6.1/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c119 arc4_crypt(&wep->tx_ctx_arc4, pos, pos, len + 4); in prism2_wep_encrypt()
164 arc4_crypt(&wep->rx_ctx_arc4, pos, pos, plen + 4); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c326 arc4_crypt(&tkey->tx_ctx_arc4, pos, pos, len + 4); in ieee80211_tkip_encrypt()
404 arc4_crypt(&tkey->rx_ctx_arc4, pos, pos, plen + 4); in ieee80211_tkip_decrypt()
/Linux-v6.1/drivers/staging/rtl8723bs/core/
Drtw_security.c77 arc4_crypt(ctx, payload, payload, length); in rtw_wep_encrypt()
78 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_wep_encrypt()
84 arc4_crypt(ctx, payload, payload, length); in rtw_wep_encrypt()
85 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_wep_encrypt()
123 arc4_crypt(ctx, payload, payload, length); in rtw_wep_decrypt()
512 arc4_crypt(ctx, payload, payload, length); in rtw_tkip_encrypt()
513 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_tkip_encrypt()
520 arc4_crypt(ctx, payload, payload, length); in rtw_tkip_encrypt()
521 arc4_crypt(ctx, payload + length, crc.f1, 4); in rtw_tkip_encrypt()
619 arc4_crypt(ctx, payload, payload, length); in rtw_tkip_decrypt()
/Linux-v6.1/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c117 arc4_crypt(&wep->tx_ctx_arc4, pos, pos, len + 4); in prism2_wep_encrypt()
163 arc4_crypt(&wep->rx_ctx_arc4, pos, pos, plen + 4); in prism2_wep_decrypt()
Drtllib_crypt_tkip.c327 arc4_crypt(&tkey->tx_ctx_arc4, pos, pos, len + 4); in rtllib_tkip_encrypt()
415 arc4_crypt(&tkey->rx_ctx_arc4, pos, pos, plen + 4); in rtllib_tkip_decrypt()
/Linux-v6.1/net/wireless/
Dlib80211_crypt_wep.c139 arc4_crypt(&wep->tx_ctx, pos, pos, len + 4); in lib80211_wep_encrypt()
178 arc4_crypt(&wep->rx_ctx, pos, pos, plen + 4); in lib80211_wep_decrypt()
Dlib80211_crypt_tkip.c358 arc4_crypt(&tkey->tx_ctx_arc4, pos, pos, len + 4); in lib80211_tkip_encrypt()
440 arc4_crypt(&tkey->rx_ctx_arc4, pos, pos, plen + 4); in lib80211_tkip_decrypt()
/Linux-v6.1/crypto/
Darc4.c36 arc4_crypt(ctx, walk.dst.virt.addr, walk.src.virt.addr, in crypto_arc4_crypt()
/Linux-v6.1/net/mac80211/
Dwep.c117 arc4_crypt(ctx, data, data, data_len + IEEE80211_WEP_ICV_LEN); in ieee80211_wep_encrypt_data()
171 arc4_crypt(ctx, data, data, data_len + IEEE80211_WEP_ICV_LEN); in ieee80211_wep_decrypt_data()