Searched refs:peer_integrity_tfm (Results 1 – 3 of 3) sorted by relevance
1603 if (!trim && peer_device->connection->peer_integrity_tfm) { in read_in_block()1604 digest_size = crypto_hash_digestsize(peer_device->connection->peer_integrity_tfm); in read_in_block()1666 drbd_csum_ee(peer_device->connection->peer_integrity_tfm, peer_req, dig_vv); in read_in_block()1717 if (peer_device->connection->peer_integrity_tfm) { in recv_dless_read()1718 digest_size = crypto_hash_digestsize(peer_device->connection->peer_integrity_tfm); in recv_dless_read()1743 drbd_csum_bio(peer_device->connection->peer_integrity_tfm, bio, dig_vv); in recv_dless_read()3299 struct crypto_hash *peer_integrity_tfm = NULL; in receive_protocol() local3380 peer_integrity_tfm = crypto_alloc_hash(integrity_alg, 0, CRYPTO_ALG_ASYNC); in receive_protocol()3381 if (!peer_integrity_tfm) { in receive_protocol()3387 hash_size = crypto_hash_digestsize(peer_integrity_tfm); in receive_protocol()[all …]
1342 if (peer_device->connection->peer_integrity_tfm) in drbd_send_ack_dp()1343 data_size -= crypto_hash_digestsize(peer_device->connection->peer_integrity_tfm); in drbd_send_ack_dp()2514 crypto_free_hash(connection->peer_integrity_tfm); in conn_free_crypto()2522 connection->peer_integrity_tfm = NULL; in conn_free_crypto()
742 …struct crypto_hash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver threa… member