Thread (9 messages) 9 messages, 2 authors, 2017-12-11

Re: [PATCH 3/4] crypto: inside-secure - only update the result buffer when provided

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2017-12-11 11:14:19

On Mon, Dec 11, 2017 at 08:49:57AM +0100, Antoine Tenart wrote:
So this patch is indeed fixing an issue, which should probably not be
there in the first place. I guess you recommend using a buffer local to
the driver instead, and only update areq->request on completion (final).
That's one way to do it.  Ideally you'd only use the local buffer
for the non-final case so that the final case just does the DMA to
the final destination.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help