Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dsmbencrypt.c73 struct crypto_blkcipher *tfm_des; in smbhash() local
79 tfm_des = crypto_alloc_blkcipher("ecb(des)", 0, CRYPTO_ALG_ASYNC); in smbhash()
80 if (IS_ERR(tfm_des)) { in smbhash()
81 rc = PTR_ERR(tfm_des); in smbhash()
86 desc.tfm = tfm_des; in smbhash()
88 crypto_blkcipher_setkey(tfm_des, key2, 8); in smbhash()
97 crypto_free_blkcipher(tfm_des); in smbhash()