diff --git a/crypto/cfb.c b/crypto/cfb.c index a0d68c09e1b9c53dd9eb4fb9bd08238d24b70d44..fd4e8500e1213bd9dd3af8118a094a5283dda308 100644 --- a/crypto/cfb.c +++ b/crypto/cfb.c @@ -144,7 +144,7 @@ static int crypto_cfb_decrypt_segment(struct skcipher_walk *walk, do { crypto_cfb_encrypt_one(tfm, iv, dst); - crypto_xor(dst, iv, bsize); + crypto_xor(dst, src, bsize); iv = src; src += bsize;