These patches fix bug in xts_crypt()/lrw_crypt() where nblocks is not updated in the block walk loop. This causes nblocks to be left at 0, after blkcipher_walk_done() call. This leads 'do { ... } while (nblocks > 0)' loop to be run one extra time with nblocks == 0 and at end of do-while loop nblocks gets updated correctly. --- Jussi Kivilinna (2): crypto: xts: fix nblocks not being updated in walk loop crypto: lrw: fix nblocks not being updated in walk loop crypto/lrw.c | 1 + crypto/xts.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html