Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-crypt.c123 struct crypto_shash *crc32_tfm; member
578 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr()
579 crypto_free_shash(tcw->crc32_tfm); in crypt_iv_tcw_dtr()
580 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr()
598 tcw->crc32_tfm = crypto_alloc_shash("crc32", 0, in crypt_iv_tcw_ctr()
600 if (IS_ERR(tcw->crc32_tfm)) { in crypt_iv_tcw_ctr()
602 return PTR_ERR(tcw->crc32_tfm); in crypt_iv_tcw_ctr()
645 SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm); in crypt_iv_tcw_whitening()
653 desc->tfm = tcw->crc32_tfm; in crypt_iv_tcw_whitening()