This series cleans up and optimizes some of the skcipher_walk code. I've split this out from my original series "crypto: scatterlist handling improvements" (https://lore.kernel.org/linux-crypto/20241230001418.74739-1-ebiggers@xxxxxxxxxx/). Please consider applying this smaller set for 6.14, and we can do patches 11-29 of the original series later. Other changes in v3: - Added comments in the patch "crypto: skcipher - optimize initializing skcipher_walk fields" Eric Biggers (8): crypto: skcipher - document skcipher_walk_done() and rename some vars crypto: skcipher - remove unnecessary page alignment of bounce buffer crypto: skcipher - remove redundant clamping to page size crypto: skcipher - remove redundant check for SKCIPHER_WALK_SLOW crypto: skcipher - fold skcipher_walk_skcipher() into skcipher_walk_virt() crypto: skcipher - clean up initialization of skcipher_walk::flags crypto: skcipher - optimize initializing skcipher_walk fields crypto: skcipher - call cond_resched() directly crypto/skcipher.c | 206 +++++++++++++---------------- include/crypto/internal/skcipher.h | 2 +- 2 files changed, 90 insertions(+), 118 deletions(-) base-commit: 7fa4817340161a34d5b4ca39e96d6318d37c1d3a -- 2.47.1