Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_receiver.c1863 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() local
3717 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 …]
Ddrbd_main.c1364 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()
Ddrbd_int.h651 …struct crypto_shash *peer_integrity_tfm; /* checksums we verify, only accessed from receiver thre… member