Home
last modified time | relevance | path

Searched refs:verify_tfm (Results 1 – 5 of 5) sorted by relevance

/drivers/block/drbd/
Ddrbd_worker.c1245 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_req()
1253 drbd_csum_ee(peer_device->connection->verify_tfm, peer_req, digest); in w_e_end_ov_req()
1317 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_reply()
1320 drbd_csum_ee(peer_device->connection->verify_tfm, peer_req, digest); in w_e_end_ov_reply()
Ddrbd_nl.c2368 struct crypto_shash *verify_tfm; member
2399 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2423 crypto_free_shash(crypto->verify_tfm); in free_crypto()
2505 crypto_free_shash(connection->verify_tfm); in drbd_adm_net_opts()
2506 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_net_opts()
2507 crypto.verify_tfm = NULL; in drbd_adm_net_opts()
2666 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_connect()
Ddrbd_receiver.c3884 struct crypto_shash *verify_tfm = NULL; in receive_SyncParam() local
3981 verify_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()
3983 if (IS_ERR(verify_tfm)) { in receive_SyncParam()
3984 verify_tfm = NULL; in receive_SyncParam()
4020 if (verify_tfm || csums_tfm) { in receive_SyncParam()
4029 if (verify_tfm) { in receive_SyncParam()
4032 crypto_free_shash(peer_device->connection->verify_tfm); in receive_SyncParam()
4033 peer_device->connection->verify_tfm = verify_tfm; in receive_SyncParam()
4085 crypto_free_shash(verify_tfm); in receive_SyncParam()
Ddrbd_main.c2570 crypto_free_shash(connection->verify_tfm); in conn_free_crypto()
2578 connection->verify_tfm = NULL; in conn_free_crypto()
Ddrbd_int.h723 struct crypto_shash *verify_tfm; member