]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: marvell - Don't copy IV vectors from the _process op for ciphers
authorRomain Perier <romain.perier@free-electrons.com>
Thu, 28 Jul 2016 09:59:43 +0000 (11:59 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Jul 2016 10:30:17 +0000 (18:30 +0800)
commit457822ee0f6ff263b2b6a53cb2a0d2637923028d
tree9000e18f8485d8921a00d333abf4c162e6eb1485
parent428a6a4049f32a6b8c93a8193f88045eb485025d
crypto: marvell - Don't copy IV vectors from the _process op for ciphers

The IV output vectors should only be copied from the _complete operation
and not from the _process operation, i.e only from the operation that is
designed to copy the result of the request to the right location. This
copy is already done in the _complete operation, so this commit removes
the duplicated code in the _process op.

Fixes: 3610d6cd5231 ("crypto: marvell - Add a complete...")
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cipher.c