Skip to content

Fixes for parallel XTS/LRW patch series

Jussi Kivilinna linux-crypto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: xts: fix nblocks not being updated in walk loopcrypto/xts.c+1 -00 replies
2/2crypto: lrw: fix nblocks not being updated in walk loopcrypto/lrw.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fixes for parallel XTS/LRW patch series

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(-)