Searched refs:csums_tfm (Results 1 – 5 of 5) sorted by relevance
353 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum()358 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_send_csum()1190 if (peer_device->connection->csums_tfm) { in w_e_end_csum_rs_req()1191 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req()1196 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_end_csum_rs_req()1719 connection->csums_tfm && /* configured? */ in use_checksum_based_resync()
2284 struct crypto_shash *csums_tfm; member2310 rv = alloc_shash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto()2337 crypto_free_shash(crypto->csums_tfm); in free_crypto()2415 crypto_free_shash(connection->csums_tfm); in drbd_adm_net_opts()2416 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_net_opts()2417 crypto.csums_tfm = NULL; in drbd_adm_net_opts()2580 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_connect()
3830 struct crypto_shash *csums_tfm = NULL; in receive_SyncParam() local3940 csums_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()3942 if (IS_ERR(csums_tfm)) { in receive_SyncParam()3943 csums_tfm = NULL; in receive_SyncParam()3965 if (verify_tfm || csums_tfm) { in receive_SyncParam()3979 if (csums_tfm) { in receive_SyncParam()3982 crypto_free_shash(peer_device->connection->csums_tfm); in receive_SyncParam()3983 peer_device->connection->csums_tfm = csums_tfm; in receive_SyncParam()4026 crypto_free_shash(csums_tfm); in receive_SyncParam()
718 struct crypto_shash *csums_tfm; member
2466 crypto_free_shash(connection->csums_tfm); in conn_free_crypto()2474 connection->csums_tfm = NULL; in conn_free_crypto()