Skip to content
Commit 46f8153c authored by Herbert Xu's avatar Herbert Xu
Browse files

[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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8ec970d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment