Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c2305 struct crypto_shash *verify_tfm; member
2336 rv = alloc_shash(&crypto->verify_tfm, new_net_conf->verify_alg, in alloc_crypto()
2360 crypto_free_shash(crypto->verify_tfm); in free_crypto()
2442 crypto_free_shash(connection->verify_tfm); in drbd_adm_net_opts()
2443 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_net_opts()
2444 crypto.verify_tfm = NULL; in drbd_adm_net_opts()
2603 connection->verify_tfm = crypto.verify_tfm; in drbd_adm_connect()
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()
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()
Ddrbd_int.h653 struct crypto_shash *verify_tfm; member
Ddrbd_main.c2479 crypto_free_shash(connection->verify_tfm); in conn_free_crypto()
2487 connection->verify_tfm = NULL; in conn_free_crypto()