Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dcrc-t10dif.c19 static struct crypto_shash *crct10dif_tfm; variable
33 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()
/Linux-v4.19/arch/powerpc/crypto/
Dcrc-vpmsum_test.c34 struct crypto_shash *crct10dif_tfm; in crc_test_init() local
44 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()