Home
last modified time | relevance | path

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

/linux-4.19.296/fs/cifs/
Dsmbencrypt.c73 struct crypto_cipher *tfm_des; in smbhash() local
77 tfm_des = crypto_alloc_cipher("des", 0, 0); in smbhash()
78 if (IS_ERR(tfm_des)) { in smbhash()
80 return PTR_ERR(tfm_des); in smbhash()
83 crypto_cipher_setkey(tfm_des, key2, 8); in smbhash()
84 crypto_cipher_encrypt_one(tfm_des, out, in); in smbhash()
85 crypto_free_cipher(tfm_des); in smbhash()