Re: [PATCH v2 2/6] fs-verity: define a function to return the integrity protected file digest

From: Eric Biggers
Date: Mon Jan 10 2022 - 17:15:51 EST


On Sun, Jan 09, 2022 at 01:55:13PM -0500, Mimi Zohar wrote:
> Define a function named fsverity_get_digest() to return the verity file
> digest and the associated hash algorithm (enum hash_algo).
>
> Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>
> ---

Acked-by: Eric Biggers <ebiggers@xxxxxxxxxx>

> +int fsverity_get_digest(struct inode *inode,
> + u8 digest[FS_VERITY_MAX_DIGEST_SIZE],
> + enum hash_algo *alg)

There's some weird indentation here.

- Eric