Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/md/
Ddm-crypt.c117 struct crypto_shash *crc32_tfm; member
571 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr()
572 crypto_free_shash(tcw->crc32_tfm); in crypt_iv_tcw_dtr()
573 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr()
591 tcw->crc32_tfm = crypto_alloc_shash("crc32", 0, in crypt_iv_tcw_ctr()
593 if (IS_ERR(tcw->crc32_tfm)) { in crypt_iv_tcw_ctr()
595 return PTR_ERR(tcw->crc32_tfm); in crypt_iv_tcw_ctr()
638 SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm); in crypt_iv_tcw_whitening()
646 desc->tfm = tcw->crc32_tfm; in crypt_iv_tcw_whitening()