Searched refs:peer_integrity_tfm (Results 1 – 3 of 3) sorted by relevance
1863 if (!trim && peer_device->connection->peer_integrity_tfm) { in read_in_block()1864 digest_size = crypto_shash_digestsize(peer_device->connection->peer_integrity_tfm); in read_in_block()1942 drbd_csum_ee_size(peer_device->connection->peer_integrity_tfm, peer_req, dig_vv, data_size); in read_in_block()1993 if (peer_device->connection->peer_integrity_tfm) { in recv_dless_read()1994 digest_size = crypto_shash_digestsize(peer_device->connection->peer_integrity_tfm); in recv_dless_read()2019 drbd_csum_bio(peer_device->connection->peer_integrity_tfm, bio, dig_vv); in recv_dless_read()3636 struct crypto_shash *peer_integrity_tfm = NULL; in receive_protocol() local3717 peer_integrity_tfm = crypto_alloc_shash(integrity_alg, 0, 0); in receive_protocol()3718 if (IS_ERR(peer_integrity_tfm)) { in receive_protocol()3719 peer_integrity_tfm = NULL; in receive_protocol()[all …]
1364 if (peer_device->connection->peer_integrity_tfm) in drbd_send_ack_dp()1365 data_size -= crypto_shash_digestsize(peer_device->connection->peer_integrity_tfm); in drbd_send_ack_dp()2482 crypto_free_shash(connection->peer_integrity_tfm); in conn_free_crypto()2490 connection->peer_integrity_tfm = NULL; in conn_free_crypto()
651 …struct crypto_shash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver thre… member