Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/sw/siw/
H A Dsiw_main.c62 struct crypto_shash *siw_crypto_shash; variable
587 siw_crypto_shash = crypto_alloc_shash("crc32c", 0, 0); in siw_init_module()
588 if (IS_ERR(siw_crypto_shash)) { in siw_init_module()
590 PTR_ERR(siw_crypto_shash)); in siw_init_module()
591 siw_crypto_shash = NULL; in siw_init_module()
613 if (siw_crypto_shash) in siw_init_module()
614 crypto_free_shash(siw_crypto_shash); in siw_init_module()
642 if (siw_crypto_shash) in siw_exit_module()
643 crypto_free_shash(siw_crypto_shash); in siw_exit_module()
H A 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()
H A Dsiw.h502 extern struct crypto_shash *siw_crypto_shash;