Home
last modified time | relevance | path

Searched refs:integrity_r_tfm (Results 1 – 4 of 4) sorted by relevance

/drivers/block/drbd/
Ddrbd_nl.c1361 struct crypto_hash *integrity_r_tfm = NULL; in drbd_nl_net_conf() local
1489 integrity_r_tfm = crypto_alloc_hash(new_conf->integrity_alg, 0, CRYPTO_ALG_ASYNC); in drbd_nl_net_conf()
1490 if (IS_ERR(integrity_r_tfm)) { in drbd_nl_net_conf()
1491 integrity_r_tfm = NULL; in drbd_nl_net_conf()
1573 crypto_free_hash(mdev->integrity_r_tfm); in drbd_nl_net_conf()
1574 mdev->integrity_r_tfm = integrity_r_tfm; in drbd_nl_net_conf()
1596 crypto_free_hash(integrity_r_tfm); in drbd_nl_net_conf()
Ddrbd_receiver.c1243 dgs = (mdev->agreed_pro_version >= 87 && mdev->integrity_r_tfm) ? in read_in_block()
1244 crypto_hash_digestsize(mdev->integrity_r_tfm) : 0; in read_in_block()
1302 drbd_csum_ee(mdev, mdev->integrity_r_tfm, e, dig_vv); in read_in_block()
1357 dgs = (mdev->agreed_pro_version >= 87 && mdev->integrity_r_tfm) ? in recv_dless_read()
1358 crypto_hash_digestsize(mdev->integrity_r_tfm) : 0; in recv_dless_read()
1397 drbd_csum_bio(mdev, mdev->integrity_r_tfm, bio, dig_vv); in recv_dless_read()
Ddrbd_main.c2415 data_size -= (mdev->agreed_pro_version >= 87 && mdev->integrity_r_tfm) ? in drbd_send_ack_dp()
2416 crypto_hash_digestsize(mdev->integrity_r_tfm) : 0; in drbd_send_ack_dp()
3619 crypto_free_hash(mdev->integrity_r_tfm); in drbd_free_resources()
3620 mdev->integrity_r_tfm = NULL; in drbd_free_resources()
Ddrbd_int.h1106 struct crypto_hash *integrity_r_tfm; /* to be used by the receiver thread */ member