Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/md/
Ddm-crypt.c120 struct crypto_shash *crc32_tfm; member
574 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr()
575 crypto_free_shash(tcw->crc32_tfm); in crypt_iv_tcw_dtr()
576 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr()
594 tcw->crc32_tfm = crypto_alloc_shash("crc32", 0, in crypt_iv_tcw_ctr()
596 if (IS_ERR(tcw->crc32_tfm)) { in crypt_iv_tcw_ctr()
598 return PTR_ERR(tcw->crc32_tfm); in crypt_iv_tcw_ctr()
641 SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm); in crypt_iv_tcw_whitening()
649 desc->tfm = tcw->crc32_tfm; in crypt_iv_tcw_whitening()