Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-crypt.c176 struct iv_elephant_private elephant; member
784 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant; in crypt_iv_elephant_dtr() local
786 crypto_free_skcipher(elephant->tfm); in crypt_iv_elephant_dtr()
787 elephant->tfm = NULL; in crypt_iv_elephant_dtr()
793 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant; in crypt_iv_elephant_ctr() local
796 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0, in crypt_iv_elephant_ctr()
798 if (IS_ERR(elephant->tfm)) { in crypt_iv_elephant_ctr()
799 r = PTR_ERR(elephant->tfm); in crypt_iv_elephant_ctr()
800 elephant->tfm = NULL; in crypt_iv_elephant_ctr()
956 struct iv_elephant_private *elephant = &cc->iv_gen_private.elephant; in crypt_iv_elephant() local
[all …]