Re: [PATCH 05/12] cifs: Add a function to Hash the contents of an iterator

From: Herbert Xu
Date: Wed Feb 01 2023 - 03:53:20 EST


David Howells <dhowells@xxxxxxxxxx> wrote:
> Add a function to push the contents of a BVEC-, KVEC- or XARRAY-type
> iterator into a symmetric hash algorithm.

There is no such thing as a symmetric hash. You're using shash
which stands for synchronous hash.

In any case, as I said in the previous review this is abusing the
shash API. Please use ahash instead.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt