Files
Horia Geantă 7ab1035b3f crypto: caam/qi - fix error path in xts setkey
commit ad876a1804 upstream.

xts setkey callback returns 0 on some error paths.
Fix this by returning -EINVAL.

Cc: <stable@vger.kernel.org> # 4.12+
Fixes: b189817cf7 ("crypto: caam/qi - add ablkcipher and authenc algorithms")
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>
2018-09-09 10:32:42 +02:00
..
2018-06-12 16:19:22 -07:00
2018-08-17 21:03:48 +02:00
2018-06-12 16:19:22 -07:00
2018-04-28 16:09:35 +08:00