Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c62 struct crypto_shash *siw_crypto_shash; variable
495 siw_crypto_shash = crypto_alloc_shash("crc32c", 0, 0); in siw_init_module()
496 if (IS_ERR(siw_crypto_shash)) { in siw_init_module()
498 PTR_ERR(siw_crypto_shash)); in siw_init_module()
499 siw_crypto_shash = NULL; in siw_init_module()
517 if (siw_crypto_shash) in siw_init_module()
518 crypto_free_shash(siw_crypto_shash); in siw_init_module()
540 if (siw_crypto_shash) in siw_exit_module()
541 crypto_free_shash(siw_crypto_shash); in siw_exit_module()
H A Dsiw_qp.c235 if (siw_crypto_shash == NULL) in siw_qp_enable_crc()
238 size = crypto_shash_descsize(siw_crypto_shash) + in siw_qp_enable_crc()
250 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
251 c_rx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
H A Dsiw.h500 extern struct crypto_shash *siw_crypto_shash;