Lines Matching refs:desc
289 SHASH_DESC_ON_STACK(desc, tfm); in drbd_csum_ee()
295 desc->tfm = tfm; in drbd_csum_ee()
297 crypto_shash_init(desc); in drbd_csum_ee()
302 crypto_shash_update(desc, src, PAGE_SIZE); in drbd_csum_ee()
309 crypto_shash_update(desc, src, len ?: PAGE_SIZE); in drbd_csum_ee()
312 crypto_shash_final(desc, digest); in drbd_csum_ee()
313 shash_desc_zero(desc); in drbd_csum_ee()
318 SHASH_DESC_ON_STACK(desc, tfm); in drbd_csum_bio()
322 desc->tfm = tfm; in drbd_csum_bio()
324 crypto_shash_init(desc); in drbd_csum_bio()
330 crypto_shash_update(desc, src, bvec.bv_len); in drbd_csum_bio()
333 crypto_shash_final(desc, digest); in drbd_csum_bio()
334 shash_desc_zero(desc); in drbd_csum_bio()