Searched refs:peer_integrity_tfm (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_receiver.c1603 if (!trim && peer_device->connection->peer_integrity_tfm) { __must_hold()
1604 digest_size = crypto_hash_digestsize(peer_device->connection->peer_integrity_tfm); __must_hold()
1666 drbd_csum_ee(peer_device->connection->peer_integrity_tfm, peer_req, dig_vv);
1717 if (peer_device->connection->peer_integrity_tfm) { recv_dless_read()
1718 digest_size = crypto_hash_digestsize(peer_device->connection->peer_integrity_tfm); recv_dless_read()
1743 drbd_csum_bio(peer_device->connection->peer_integrity_tfm, bio, dig_vv);
3298 struct crypto_hash *peer_integrity_tfm = NULL; receive_protocol() local
3379 peer_integrity_tfm = crypto_alloc_hash(integrity_alg, 0, CRYPTO_ALG_ASYNC); receive_protocol()
3380 if (!peer_integrity_tfm) { receive_protocol()
3386 hash_size = crypto_hash_digestsize(peer_integrity_tfm); receive_protocol()
3416 crypto_free_hash(connection->peer_integrity_tfm); receive_protocol()
3419 connection->peer_integrity_tfm = peer_integrity_tfm; receive_protocol()
3434 crypto_free_hash(peer_integrity_tfm); receive_protocol()
H A Ddrbd_main.c1341 if (peer_device->connection->peer_integrity_tfm) drbd_send_ack_dp()
1342 data_size -= crypto_hash_digestsize(peer_device->connection->peer_integrity_tfm); drbd_send_ack_dp()
2513 crypto_free_hash(connection->peer_integrity_tfm); conn_free_crypto()
2521 connection->peer_integrity_tfm = NULL; conn_free_crypto()
H A Ddrbd_int.h742 struct crypto_hash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver thread */ member in struct:drbd_connection

Completed in 103 milliseconds