[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y9OprbIBseKadiej@gondor.apana.org.au>
Date: Fri, 27 Jan 2023 18:38:37 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Howells <dhowells@...hat.com>
Cc: smfrench@...il.com, viro@...iv.linux.org.uk,
nspmangalore@...il.com, rohiths.msft@...il.com, tom@...pey.com,
metze@...ba.org, hch@...radead.org, willy@...radead.org,
jlayton@...nel.org, linux-cifs@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
sfrench@...ba.org, linux-crypto@...r.kernel.org
Subject: Re: [RFC 06/13] cifs: Add a function to Hash the contents of an
iterator
On Fri, Jan 27, 2023 at 10:33:58AM +0000, David Howells wrote:
> Herbert Xu <herbert@...dor.apana.org.au> wrote:
>
> > Please convert this to ahash. The whole point of shash is to
> > process *small* amounts of data that is not on an SG list.
>
> Is ahash offloaded to another thread or hardware?
That's something you can control when you allocate the ahash
object? You could even restrict it to sync algorithms by setting
type to 0 and mask to CRYPTO_ALG_SYNC.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists