]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - crypto/cfb.c
Merge tag 'linux-kselftest-5.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / crypto / cfb.c
index 20987d0e09d89ceafbd51d3b61b321dc58a56862..e81e456734985ad1772ef15b32b62991e0412f98 100644 (file)
@@ -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;