Lines Matching refs:digest_size
205 *offset = idx * v->digest_size; in verity_hash_at_level()
307 v->digest_size) == 0)) in verity_verify_level()
322 memcpy(want_digest, data, v->digest_size); in verity_verify_level()
352 memcpy(digest, v->root_digest, v->digest_size); in verity_hash_for_block()
361 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block()
524 verity_io_want_digest(v, io), v->digest_size) == 0)) { in verity_verify_io()
729 for (x = 0; x < v->digest_size; x++) in verity_status()
871 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_alloc_zero_digest()
1123 v->digest_size = crypto_ahash_digestsize(v->tfm); in verity_ctr()
1124 if ((1 << v->hash_dev_block_bits) < v->digest_size * 2) { in verity_ctr()
1132 v->root_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_ctr()
1138 if (strlen(argv[8]) != v->digest_size * 2 || in verity_ctr()
1139 hex2bin(v->root_digest, argv[8], v->digest_size)) { in verity_ctr()
1185 __fls((1 << v->hash_dev_block_bits) / v->digest_size); in verity_ctr()
1240 v->ahash_reqsize + v->digest_size * 2; in verity_ctr()