aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHoria Geant? <horia.geanta@freescale.com>2015-07-30 22:11:18 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-31 15:17:33 +0800
commit4aad0cc5c3f715efc294ac60fd0bf0e90829e18b (patch)
tree9de4746b5341e54e9bd271d7223909e3710e8a6d /include/crypto
parent41656aa77f4f0caddde87bc88c2fe13f462b33bd (diff)
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? <horia.geanta@freescale.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions

Privacy Policy