From: Horia Geant? Date: Thu, 30 Jul 2015 19:11:18 +0000 (+0300) Subject: crypto: caam - fix rfc4106 encap shared descriptor X-Git-Tag: omap-for-v4.3/fixes-merge-window~29^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aad0cc5c3f715efc294ac60fd0bf0e90829e18b;p=pandora-kernel.git crypto: caam - fix rfc4106 encap shared descriptor 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? Signed-off-by: Tudor Ambarus Signed-off-by: Herbert Xu --- Reading git-diff-tree failed