Home
last modified time | relevance | path

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

/drivers/infiniband/sw/siw/
Dsiw_main.c61 struct crypto_shash *siw_crypto_shash; variable
600 siw_crypto_shash = crypto_alloc_shash("crc32c", 0, 0); in siw_init_module()
601 if (IS_ERR(siw_crypto_shash)) { in siw_init_module()
603 PTR_ERR(siw_crypto_shash)); in siw_init_module()
604 siw_crypto_shash = NULL; in siw_init_module()
626 if (siw_crypto_shash) in siw_init_module()
627 crypto_free_shash(siw_crypto_shash); in siw_init_module()
655 if (siw_crypto_shash) in siw_exit_module()
656 crypto_free_shash(siw_crypto_shash); in siw_exit_module()
Dsiw_qp.c232 if (siw_crypto_shash == NULL) in siw_qp_enable_crc()
235 size = crypto_shash_descsize(siw_crypto_shash) + in siw_qp_enable_crc()
247 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
248 c_rx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
Dsiw.h517 extern struct crypto_shash *siw_crypto_shash;