Home
last modified time | relevance | path

Searched refs:arc4_ctx (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/include/crypto/
Darc4.h15 struct arc4_ctx { struct
20 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len); argument
21 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len);
/Linux-v5.4/crypto/
Darc4.c19 struct arc4_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_arc4_setkey()
27 struct arc4_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_arc4_crypt()
51 .base.cra_ctxsize = sizeof(struct arc4_ctx),
/Linux-v5.4/net/mac80211/
Dtkip.h13 int ieee80211_tkip_encrypt_data(struct arc4_ctx *ctx,
24 int ieee80211_tkip_decrypt_data(struct arc4_ctx *ctx,
Dwep.h17 int ieee80211_wep_encrypt_data(struct arc4_ctx *ctx, u8 *rc4key,
22 int ieee80211_wep_decrypt_data(struct arc4_ctx *ctx, u8 *rc4key,
Dwep.c110 int ieee80211_wep_encrypt_data(struct arc4_ctx *ctx, u8 *rc4key, in ieee80211_wep_encrypt_data()
167 int ieee80211_wep_decrypt_data(struct arc4_ctx *ctx, u8 *rc4key, in ieee80211_wep_decrypt_data()
Dtkip.c222 int ieee80211_tkip_encrypt_data(struct arc4_ctx *ctx, in ieee80211_tkip_encrypt_data()
239 int ieee80211_tkip_decrypt_data(struct arc4_ctx *ctx, in ieee80211_tkip_decrypt_data()
Dieee80211_i.h1258 struct arc4_ctx wep_tx_ctx;
1259 struct arc4_ctx wep_rx_ctx;
/Linux-v5.4/lib/crypto/
Darc4.c13 int arc4_setkey(struct arc4_ctx *ctx, const u8 *in_key, unsigned int key_len) in arc4_setkey()
37 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len) in arc4_crypt()
/Linux-v5.4/net/wireless/
Dlib80211_crypt_wep.c35 struct arc4_ctx tx_ctx;
36 struct arc4_ctx rx_ctx;
Dlib80211_crypt_tkip.c65 struct arc4_ctx rx_ctx_arc4;
66 struct arc4_ctx tx_ctx_arc4;
625 struct arc4_ctx *tfm2 = &tkey->tx_ctx_arc4; in lib80211_tkip_set_key()
627 struct arc4_ctx *tfm4 = &tkey->rx_ctx_arc4; in lib80211_tkip_set_key()
/Linux-v5.4/drivers/net/ppp/
Dppp_mppe.c92 struct arc4_ctx arc4;
/Linux-v5.4/fs/cifs/
Dcifsencrypt.c777 struct arc4_ctx *ctx_arc4; in calc_seckey()