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ă <horia.geanta@xxxxxxxxxxxxx> > Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx> Patch applied. Thanks! -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html