Thread (7 messages) 7 messages, 2 authors, 2015-07-31

Re: [PATCH v2] crypto: caam - fix rfc4106 encap shared descriptor

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2015-07-31 07:20:39

On Thu, Jul 30, 2015 at 10:11:18PM +0300, Horia Geantă wrote:
The encap shared descriptor was changed to use the new IV convention.
In the process some commands were shifted, making the output length
zero, caam effectively writing garbage in dst.

While here, update the decap descriptor to execute the "write" commands
before the "read"s (as it previously was).
This makes sure the input fifo is drained before becoming full.

Fixes: 46218750d523 ("crypto: caam - Use new IV convention")
Signed-off-by: Horia Geantă <redacted>
Signed-off-by: Tudor Ambarus <redacted>
Patch applied.  Thanks!
-- 
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