Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_worker.c1246 digest_size = crypto_shash_digestsize(peer_device->connection->verify_tfm); in w_e_end_ov_req()
1254 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()
Ddrbd_nl.c2361 struct crypto_shash *verify_tfm; member
2392 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2416 crypto_free_shash(crypto->verify_tfm); in free_crypto()
2498 crypto_free_shash(connection->verify_tfm); in drbd_adm_net_opts()
2499 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_net_opts()
2500 crypto.verify_tfm = NULL; in drbd_adm_net_opts()
2659 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_connect()
Ddrbd_receiver.c3885 struct crypto_shash *verify_tfm = NULL; in receive_SyncParam() local
3982 verify_tfm = drbd_crypto_alloc_digest_safe(device, in receive_SyncParam()
3984 if (IS_ERR(verify_tfm)) { in receive_SyncParam()
3985 verify_tfm = NULL; in receive_SyncParam()
4021 if (verify_tfm || csums_tfm) { in receive_SyncParam()
4030 if (verify_tfm) { in receive_SyncParam()
4033 crypto_free_shash(peer_device->connection->verify_tfm); in receive_SyncParam()
4034 peer_device->connection->verify_tfm = verify_tfm; in receive_SyncParam()
4086 crypto_free_shash(verify_tfm); in receive_SyncParam()
Ddrbd_int.h723 struct crypto_shash *verify_tfm; member
Ddrbd_main.c2515 crypto_free_shash(connection->verify_tfm); in conn_free_crypto()
2523 connection->verify_tfm = NULL; in conn_free_crypto()