Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-verity.c67 unsigned char hash_dev_block_bits; /* log2(hash blocksize) */ member
191 *offset = idx << (v->hash_dev_block_bits - v->hash_per_block_bits); in verity_hash_at_level()
301 r = crypto_shash_update(desc, data, 1 << v->hash_dev_block_bits); in verity_verify_level()
604 1 << v->hash_dev_block_bits, in verity_status()
783 v->hash_dev_block_bits = __ffs(num); in verity_ctr()
801 (sector_t)(num_ll << (v->hash_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
802 >> (v->hash_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
824 if ((1 << v->hash_dev_block_bits) < v->digest_size * 2) { in verity_ctr()
895 __fls((1 << v->hash_dev_block_bits) / v->digest_size); in verity_ctr()
926 1 << v->hash_dev_block_bits, 1, sizeof(struct buffer_aux), in verity_ctr()