Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dcifsencrypt.c771 struct crypto_skcipher *tfm_arc4; in calc_seckey() local
782 tfm_arc4 = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in calc_seckey()
783 if (IS_ERR(tfm_arc4)) { in calc_seckey()
784 rc = PTR_ERR(tfm_arc4); in calc_seckey()
789 rc = crypto_skcipher_setkey(tfm_arc4, ses->auth_key.response, in calc_seckey()
797 req = skcipher_request_alloc(tfm_arc4, GFP_KERNEL); in calc_seckey()
823 crypto_free_skcipher(tfm_arc4); in calc_seckey()