Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-crypt.c126 struct crypto_shash *crc32_tfm; member
581 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr()
582 crypto_free_shash(tcw->crc32_tfm); in crypt_iv_tcw_dtr()
583 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr()
601 tcw->crc32_tfm = crypto_alloc_shash("crc32", 0, in crypt_iv_tcw_ctr()
603 if (IS_ERR(tcw->crc32_tfm)) { in crypt_iv_tcw_ctr()
605 return PTR_ERR(tcw->crc32_tfm); in crypt_iv_tcw_ctr()
648 SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm); in crypt_iv_tcw_whitening()
656 desc->tfm = tcw->crc32_tfm; in crypt_iv_tcw_whitening()