Searched refs:crct10dif_tfm (Results 1 – 2 of 2) sorted by relevance
19 static struct crypto_shash *crct10dif_tfm; variable33 desc.shash.tfm = crct10dif_tfm; in crc_t10dif_update()52 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_t10dif_mod_init()53 if (IS_ERR(crct10dif_tfm)) { in crc_t10dif_mod_init()55 crct10dif_tfm = NULL; in crc_t10dif_mod_init()62 crypto_free_shash(crct10dif_tfm); in crc_t10dif_mod_fini()
34 struct crypto_shash *crct10dif_tfm; in crc_test_init() local44 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_test_init()46 if (IS_ERR(crct10dif_tfm)) { in crc_test_init()59 SHASH_DESC_ON_STACK(crct10dif_shash, crct10dif_tfm); in crc_test_init()62 crct10dif_shash->tfm = crct10dif_tfm; in crc_test_init()121 crypto_free_shash(crct10dif_tfm); in crc_test_init()