Home
last modified time | relevance | path

Searched refs:ctx_arc4 (Results 1 – 3 of 3) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/cifs/
H A Dcifsencrypt.c782 struct arc4_ctx *ctx_arc4; in calc_seckey() local
789 ctx_arc4 = kmalloc(sizeof(*ctx_arc4), GFP_KERNEL); in calc_seckey()
790 if (!ctx_arc4) { in calc_seckey()
795 arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
796 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
805 kfree_sensitive(ctx_arc4); in calc_seckey()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/cifs/
H A Dcifsencrypt.c782 struct arc4_ctx *ctx_arc4; in calc_seckey() local
789 ctx_arc4 = kmalloc(sizeof(*ctx_arc4), GFP_KERNEL); in calc_seckey()
790 if (!ctx_arc4) { in calc_seckey()
795 arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
796 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
805 kfree_sensitive(ctx_arc4); in calc_seckey()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/cifs/
H A Dcifsencrypt.c782 struct arc4_ctx *ctx_arc4; in calc_seckey() local
789 ctx_arc4 = kmalloc(sizeof(*ctx_arc4), GFP_KERNEL); in calc_seckey()
790 if (!ctx_arc4) { in calc_seckey()
795 arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
796 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
805 kfree_sensitive(ctx_arc4); in calc_seckey()