Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-crypt.c116 struct crypto_shash *crc32_tfm; member
570 if (tcw->crc32_tfm && !IS_ERR(tcw->crc32_tfm)) in crypt_iv_tcw_dtr()
571 crypto_free_shash(tcw->crc32_tfm); in crypt_iv_tcw_dtr()
572 tcw->crc32_tfm = NULL; in crypt_iv_tcw_dtr()
590 tcw->crc32_tfm = crypto_alloc_shash("crc32", 0, in crypt_iv_tcw_ctr()
592 if (IS_ERR(tcw->crc32_tfm)) { in crypt_iv_tcw_ctr()
594 return PTR_ERR(tcw->crc32_tfm); in crypt_iv_tcw_ctr()
637 SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm); in crypt_iv_tcw_whitening()
645 desc->tfm = tcw->crc32_tfm; in crypt_iv_tcw_whitening()