Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dcifsencrypt.c792 struct crypto_blkcipher *tfm_arc4; in calc_seckey() local
799 tfm_arc4 = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in calc_seckey()
800 if (IS_ERR(tfm_arc4)) { in calc_seckey()
801 rc = PTR_ERR(tfm_arc4); in calc_seckey()
806 desc.tfm = tfm_arc4; in calc_seckey()
808 rc = crypto_blkcipher_setkey(tfm_arc4, ses->auth_key.response, in calc_seckey()
822 crypto_free_blkcipher(tfm_arc4); in calc_seckey()
831 crypto_free_blkcipher(tfm_arc4); in calc_seckey()