Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Dcifsencrypt.c777 struct arc4_ctx *ctx_arc4; in calc_seckey() local
784 ctx_arc4 = kmalloc(sizeof(*ctx_arc4), GFP_KERNEL); in calc_seckey()
785 if (!ctx_arc4) { in calc_seckey()
790 arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
791 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
800 kfree_sensitive(ctx_arc4); in calc_seckey()