Skip to content

crypto/arm64: Reduce stack bloat from scoped ksimd

Ard Biesheuvel linux-crypto 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2crypto/arm64: aes/xts - Using single ksimd scope to reduce stack bloatarch/arm64/crypto/aes-glue.c arch/arm64/crypto/aes-neonbs-glue.c+57 -620 replies
2/2crypto/arm64: sm4/xts: Merge ksimd scopes to reduce stack bloatarch/arm64/crypto/sm4-ce-glue.c+20 -220 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchArnd Bergmann
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] crypto/arm64: Reduce stack bloat from scoped ksimd

Arnd reports that the new scoped ksimd changes result in excessive stack bloat in the XTS routines in some cases. Fix this for AES-XTS and SM4-XTS.

Note that the offending patches went in via the libcrypto tree, so these changes should either go via the same route, or wait for -rc1

Cc Arnd Bergmann <[email protected]>
Cc Eric Biggers <[email protected]>
Cc Herbert Xu <[email protected]>

Ard Biesheuvel (2):
crypto/arm64: aes/xts - Using single ksimd scope to reduce stack bloat crypto/arm64: sm4/xts: Merge ksimd scopes to reduce stack bloat

 arch/arm64/crypto/aes-glue.c        | 75 ++++++++++----------
 arch/arm64/crypto/aes-neonbs-glue.c | 44 ++++++------
 arch/arm64/crypto/sm4-ce-glue.c     | 42 ++++++-----
 3 files changed, 77 insertions(+), 84 deletions(-)
Signature · 1 line
2.47.3