]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] eseqiv: Fix off-by-one encryption
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 29 Apr 2008 13:57:01 +0000 (21:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 May 2008 10:22:28 +0000 (18:22 +0800)
commit1e4dd75f92647b038d31d2cd8f3eb44c4f1ef98e
tree1d7455db8ebdc14ad049f0fc7e006a61d79b503a
parent1d9e4dad85af14d3632a0e6a0b1401a2a4a0bf42
[CRYPTO] eseqiv: Fix off-by-one encryption

After attaching the IV to the head during encryption, eseqiv does not
increase the encryption length by that amount.  As such the last block
of the actual plain text will be left unencrypted.

Fortunately the only user of this code hifn currently crashes so this
shouldn't affect anyone :)

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/eseqiv.c