Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_worker.c1241 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_req()
1249 drbd_csum_ee(peer_device->connection->verify_tfm, peer_req, digest); in w_e_end_ov_req()
1313 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_reply()
1316 drbd_csum_ee(peer_device->connection->verify_tfm, peer_req, digest); in w_e_end_ov_reply()
Ddrbd_nl.c2283 struct crypto_shash *verify_tfm; member
2314 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2338 crypto_free_shash(crypto->verify_tfm); in free_crypto()
2420 crypto_free_shash(connection->verify_tfm); in drbd_adm_net_opts()
2421 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_net_opts()
2422 crypto.verify_tfm = NULL; in drbd_adm_net_opts()
2581 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_connect()
Ddrbd_receiver.c3829 struct crypto_shash *verify_tfm = NULL; in receive_SyncParam() local
3926 verify_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()
3928 if (IS_ERR(verify_tfm)) { in receive_SyncParam()
3929 verify_tfm = NULL; in receive_SyncParam()
3965 if (verify_tfm || csums_tfm) { in receive_SyncParam()
3972 if (verify_tfm) { in receive_SyncParam()
3975 crypto_free_shash(peer_device->connection->verify_tfm); in receive_SyncParam()
3976 peer_device->connection->verify_tfm = verify_tfm; in receive_SyncParam()
4028 crypto_free_shash(verify_tfm); in receive_SyncParam()
Ddrbd_int.h719 struct crypto_shash *verify_tfm; member
Ddrbd_main.c2467 crypto_free_shash(connection->verify_tfm); in conn_free_crypto()
2475 connection->verify_tfm = NULL; in conn_free_crypto()