Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/md/
Ddm-crypt.c167 struct iv_elephant_private elephant; member
767 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant; in crypt_iv_elephant_dtr() local
769 crypto_free_skcipher(elephant->tfm); in crypt_iv_elephant_dtr()
770 elephant->tfm = NULL; in crypt_iv_elephant_dtr()
776 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant; in crypt_iv_elephant_ctr() local
779 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0, in crypt_iv_elephant_ctr()
781 if (IS_ERR(elephant->tfm)) { in crypt_iv_elephant_ctr()
782 r = PTR_ERR(elephant->tfm); in crypt_iv_elephant_ctr()
783 elephant->tfm = NULL; in crypt_iv_elephant_ctr()
939 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant; in crypt_iv_elephant() local
[all …]