Searched refs:ctx_arc4 (Results 1 – 1 of 1) sorted by relevance
688 struct arc4_ctx *ctx_arc4; in calc_seckey() local695 ctx_arc4 = kmalloc(sizeof(*ctx_arc4), GFP_KERNEL); in calc_seckey()696 if (!ctx_arc4) { in calc_seckey()701 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()702 cifs_arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()711 kfree_sensitive(ctx_arc4); in calc_seckey()