Steffen Klassert abe5fa7899 crypto: eseqiv - Fix IV generation for sync algorithms
If crypto_ablkcipher_encrypt() returns synchronous,
eseqiv_complete2() is called even if req->giv is already the
pointer to the generated IV. The generated IV is overwritten
with some random data in this case. This patch fixes this by
calling eseqiv_complete2() just if the generated IV has to be
copied to req->giv.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-04-15 20:45:03 +08:00
..
2008-12-25 11:05:13 +11:00
2008-12-25 11:02:07 +11:00
2009-03-04 14:43:52 +08:00
2009-03-04 15:42:15 +08:00
2009-02-17 20:00:11 +08:00
2008-12-25 11:02:16 +11:00
2008-12-25 11:02:18 +11:00
2008-12-25 11:02:09 +11:00
2008-12-25 11:02:10 +11:00
2008-12-25 11:02:12 +11:00
2008-12-25 11:02:13 +11:00
2008-12-25 11:02:15 +11:00
2009-03-04 14:43:52 +08:00
2009-03-04 15:42:15 +08:00
2009-03-04 15:42:15 +08:00
2009-03-04 15:42:15 +08:00
2008-12-25 11:02:21 +11:00
2008-12-25 11:02:22 +11:00