On Fri, Jan 25, 2019 at 02:26:27PM +0000, Horia Geanta wrote: > > Thus, it seems the problem lies in the fact that ahash_request structure > defines > the digest buffer as "u8 *result" - thus the memory area might not be DMAable.
Oh OK, I misunderstood. Anything that's in the form of a kernel pointer must be assumed to be not DMAable. So yes this needs to be copied. Thanks, -- 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