diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2007-10-21 16:04:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:04 +1100 |
commit | 2d506d4fa1df18aa9505820722f834426edc907f (patch) | |
tree | b39bcf3cf414e472e9ddd7aaaf58496afef27078 /lib/bitmap.c | |
parent | 89e12654312dddbbdbf17b5adc95b22cb672f947 (diff) |
[CRYPTO] geode: use consistent IV copy
It is enough if the IV is copied before and after the while loop.
With DM-Crypt is seems not be required to save the IV after encrytion
because a new one is used in the request (dunno about other users).
It is not save to load the IV within while loop and not save afterwards
because we mill end up with the wrong IV if the request goes consists
of more than one page.
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions