Searched refs:csums_tfm (Results 1 – 5 of 5) sorted by relevance
335 digest_size = crypto_hash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum()340 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_send_csum()1110 if (peer_device->connection->csums_tfm) { in w_e_end_csum_rs_req()1111 digest_size = crypto_hash_digestsize(peer_device->connection->csums_tfm); in w_e_end_csum_rs_req()1116 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_end_csum_rs_req()1620 connection->csums_tfm && /* configured? */ in use_checksum_based_resync()
2069 struct crypto_hash *csums_tfm; member2095 rv = alloc_hash(&crypto->csums_tfm, new_net_conf->csums_alg, in alloc_crypto()2122 crypto_free_hash(crypto->csums_tfm); in free_crypto()2200 crypto_free_hash(connection->csums_tfm); in drbd_adm_net_opts()2201 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_net_opts()2202 crypto.csums_tfm = NULL; in drbd_adm_net_opts()2342 connection->csums_tfm = crypto.csums_tfm; in drbd_adm_connect()
3508 struct crypto_hash *csums_tfm = NULL; in receive_SyncParam() local3618 csums_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()3620 if (IS_ERR(csums_tfm)) { in receive_SyncParam()3621 csums_tfm = NULL; in receive_SyncParam()3643 if (verify_tfm || csums_tfm) { in receive_SyncParam()3659 if (csums_tfm) { in receive_SyncParam()3662 crypto_free_hash(peer_device->connection->csums_tfm); in receive_SyncParam()3663 peer_device->connection->csums_tfm = csums_tfm; in receive_SyncParam()3706 crypto_free_hash(csums_tfm); in receive_SyncParam()
743 struct crypto_hash *csums_tfm; member
2509 crypto_free_hash(connection->csums_tfm); in conn_free_crypto()2517 connection->csums_tfm = NULL; in conn_free_crypto()