v2 incorporates suggestions by Eric Biggers, and makes the addr field const in struct scatter_walk. This patch series changes the calling convention of scatterwalk_next and adds a new helper memcpy_sglist. Herbert Xu (3): crypto: scatterwalk - Change scatterwalk_next calling convention crypto: scatterwalk - Add memcpy_sglist crypto: skcipher - Eliminate duplicate virt.addr field arch/arm/crypto/ghash-ce-glue.c | 7 ++--- arch/arm64/crypto/aes-ce-ccm-glue.c | 9 +++--- arch/arm64/crypto/ghash-ce-glue.c | 7 ++--- arch/arm64/crypto/sm4-ce-ccm-glue.c | 8 +++--- arch/arm64/crypto/sm4-ce-gcm-glue.c | 8 +++--- arch/s390/crypto/aes_s390.c | 21 ++++++-------- arch/x86/crypto/aegis128-aesni-glue.c | 7 ++--- arch/x86/crypto/aesni-intel_glue.c | 9 +++--- crypto/aegis128-core.c | 7 ++--- crypto/scatterwalk.c | 41 +++++++++++++++++++++------ crypto/skcipher.c | 35 +++++++++++------------ drivers/crypto/nx/nx.c | 7 ++--- include/crypto/algapi.h | 8 ++++++ include/crypto/internal/skcipher.h | 26 +++++++++++++---- include/crypto/scatterwalk.h | 38 ++++++++++++++----------- 15 files changed, 140 insertions(+), 98 deletions(-) -- 2.39.5