Searched refs:crct10dif_tfm (Results 1 – 2 of 2) sorted by relevance
19 static struct crypto_shash __rcu *crct10dif_tfm; variable34 old = rcu_dereference_protected(crct10dif_tfm, in crc_t10dif_rehash()45 rcu_assign_pointer(crct10dif_tfm, new); in crc_t10dif_rehash()69 desc.shash.tfm = rcu_dereference(crct10dif_tfm); in crc_t10dif_update()90 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_t10dif_mod_init()91 if (IS_ERR(crct10dif_tfm)) { in crc_t10dif_mod_init()93 crct10dif_tfm = NULL; in crc_t10dif_mod_init()101 crypto_free_shash(crct10dif_tfm); in crc_t10dif_mod_fini()113 crypto_tfm_alg_driver_name(crypto_shash_tfm(crct10dif_tfm))); in crc_t10dif_transform_show()
31 struct crypto_shash *crct10dif_tfm; in crc_test_init() local41 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_test_init()43 if (IS_ERR(crct10dif_tfm)) { in crc_test_init()56 SHASH_DESC_ON_STACK(crct10dif_shash, crct10dif_tfm); in crc_test_init()59 crct10dif_shash->tfm = crct10dif_tfm; in crc_test_init()114 crypto_free_shash(crct10dif_tfm); in crc_test_init()