Searched refs:integrity_w_tfm (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/drbd/
H A Ddrbd_nl.c1186 struct crypto_hash *integrity_w_tfm = NULL; local
1287 integrity_w_tfm = crypto_alloc_hash(new_conf->integrity_alg, 0, CRYPTO_ALG_ASYNC);
1288 if (IS_ERR(integrity_w_tfm)) {
1289 integrity_w_tfm = NULL;
1294 if (!drbd_crypto_is_hash(crypto_hash_tfm(integrity_w_tfm))) {
1327 if (integrity_w_tfm) {
1328 i = crypto_hash_digestsize(integrity_w_tfm);
1379 crypto_free_hash(mdev->integrity_w_tfm);
1380 mdev->integrity_w_tfm = integrity_w_tfm;
[all...]
H A Ddrbd_main.c2328 dgs = (mdev->agreed_pro_version >= 87 && mdev->integrity_w_tfm) ?
2329 crypto_hash_digestsize(mdev->integrity_w_tfm) : 0;
2365 drbd_csum_bio(mdev, mdev->integrity_w_tfm, req->master_bio, dgb);
2392 dgs = (mdev->agreed_pro_version >= 87 && mdev->integrity_w_tfm) ?
2393 crypto_hash_digestsize(mdev->integrity_w_tfm) : 0;
2415 drbd_csum_ee(mdev, mdev->integrity_w_tfm, e, dgb);
3217 crypto_free_hash(mdev->integrity_w_tfm);
3218 mdev->integrity_w_tfm = NULL;
H A Ddrbd_int.h1041 struct crypto_hash *integrity_w_tfm; /* to be used by the worker thread */ member in struct:drbd_conf

Completed in 120 milliseconds