Files
linux/drivers
Horia Geantă f973851a59 crypto: caam - fix IV loading for authenc (giv)decryption
commit 8b18e2359a upstream.

For algorithms that implement IV generators before the crypto ops,
the IV needed for decryption is initially located in req->src
scatterlist, not in req->iv.

Avoid copying the IV into req->iv by modifying the (givdecrypt)
descriptors to load it directly from req->src.
aead_givdecrypt() is no longer needed and goes away.

Fixes: 479bcc7c5b ("crypto: caam - Convert authenc to new AEAD interface")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-15 08:27:53 +02:00
..
2015-10-12 19:56:27 -07:00
2016-09-07 08:32:43 +02:00
2016-09-15 08:27:45 +02:00
2015-11-08 16:24:43 -05:00
2016-09-15 08:27:52 +02:00
2016-08-20 18:09:22 +02:00