On Tue, Dec 26, 2017 at 11:06:02AM +0200, Gilad Ben-Yossef wrote: > > The hash state needs to be DMAed in and out of the hardware on each operation > and I have no guarantee that the ahash request is allocated from DMAable > memory > (i.e. AHASH_REQUEST_ON_STACK).
AHASH_REQUEST_ON_STACK cannot possibly be used on an async ahash implementation for obvious reasons so this shouldn't be an issue. The construct is simply a compatibility aid for sync-only users to use the ahash interface. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt