commit | eae55a586c3c8b50982bad3c3426e9c9dd7a0075 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Tue May 21 13:34:17 2019 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 30 15:30:04 2019 +0800 |
tree | b310bb55f4f46f64c06ce06ced31f9e3de6709fc | |
parent | 4bbfb839259a9c96a0be872e16f7471b7136aee5 [diff] |
crypto: talitos - properly handle split ICV. The driver assumes that the ICV is as a single piece in the last element of the scatterlist. This assumption is wrong. This patch ensures that the ICV is properly handled regardless of the scatterlist layout. Fixes: 9c4a79653b35 ("crypto: talitos - Freescale integrated security engine (SEC) driver") Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>