Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_nl.c2296 struct crypto_shash *verify_tfm; member
2327 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2351 crypto_free_shash(crypto->verify_tfm); in free_crypto()
2433 crypto_free_shash(connection->verify_tfm); in drbd_adm_net_opts()
2434 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_net_opts()
2435 crypto.verify_tfm = NULL; in drbd_adm_net_opts()
2594 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_connect()
H A 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()
1318 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_reply()
1321 drbd_csum_ee(peer_device->connection->verify_tfm, peer_req, digest); in w_e_end_ov_reply()
H A Ddrbd_receiver.c3844 struct crypto_shash *verify_tfm = NULL; in receive_SyncParam() local
3941 verify_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()
3943 if (IS_ERR(verify_tfm)) { in receive_SyncParam()
3944 verify_tfm = NULL; in receive_SyncParam()
3980 if (verify_tfm || csums_tfm) { in receive_SyncParam()
3987 if (verify_tfm) { in receive_SyncParam()
3990 crypto_free_shash(peer_device->connection->verify_tfm); in receive_SyncParam()
3991 peer_device->connection->verify_tfm = verify_tfm; in receive_SyncParam()
4043 crypto_free_shash(verify_tfm); in receive_SyncParam()
H A Ddrbd_int.h651 struct crypto_shash *verify_tfm; member
H A Ddrbd_main.c2465 crypto_free_shash(connection->verify_tfm); in conn_free_crypto()
2473 connection->verify_tfm = NULL; in conn_free_crypto()