Home
last modified time | relevance | path

Searched refs:siw_crypto_shash (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_main.c62 struct crypto_shash *siw_crypto_shash; variable
584 siw_crypto_shash = crypto_alloc_shash("crc32c", 0, 0); in siw_init_module()
585 if (IS_ERR(siw_crypto_shash)) { in siw_init_module()
587 PTR_ERR(siw_crypto_shash)); in siw_init_module()
588 siw_crypto_shash = NULL; in siw_init_module()
610 if (siw_crypto_shash) in siw_init_module()
611 crypto_free_shash(siw_crypto_shash); in siw_init_module()
639 if (siw_crypto_shash) in siw_exit_module()
640 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;
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/
H A Dsiw_main.c62 struct crypto_shash *siw_crypto_shash; variable
533 siw_crypto_shash = crypto_alloc_shash("crc32c", 0, 0); in siw_init_module()
534 if (IS_ERR(siw_crypto_shash)) { in siw_init_module()
536 PTR_ERR(siw_crypto_shash)); in siw_init_module()
537 siw_crypto_shash = NULL; in siw_init_module()
555 if (siw_crypto_shash) in siw_init_module()
556 crypto_free_shash(siw_crypto_shash); in siw_init_module()
578 if (siw_crypto_shash) in siw_exit_module()
579 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.h504 extern struct crypto_shash *siw_crypto_shash;

Completed in 8 milliseconds