Home
last modified time | relevance | path

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

/linux/lib/
H A Dcrc-t10dif.c19 static struct crypto_shash __rcu *crct10dif_tfm; variable
41 old = rcu_dereference_protected(crct10dif_tfm, in crc_t10dif_rehash()
48 rcu_assign_pointer(crct10dif_tfm, new); in crc_t10dif_rehash()
75 desc.shash.tfm = rcu_dereference(crct10dif_tfm); in crc_t10dif_update()
104 crypto_free_shash(rcu_dereference_protected(crct10dif_tfm, 1)); in crc_t10dif_mod_fini()
119 tfm = rcu_dereference(crct10dif_tfm); in crc_t10dif_transform_show()
/linux/arch/powerpc/crypto/
H A Dcrc-vpmsum_test.c33 struct crypto_shash *crct10dif_tfm; in crc_test_init() local
43 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_test_init()
45 if (IS_ERR(crct10dif_tfm)) { in crc_test_init()
58 SHASH_DESC_ON_STACK(crct10dif_shash, crct10dif_tfm); in crc_test_init()
61 crct10dif_shash->tfm = crct10dif_tfm; in crc_test_init()
117 crypto_free_shash(crct10dif_tfm); in crc_test_init()