lib/crypto: x86/sha: Follow the normal %rbp convention
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/crypto: x86/sha1: Follow the normal %rbp conventionlib/ lib/ | +10 | 0 replies | |
| 2/3 | lib/crypto: x86/sha256: Follow the normal %rbp conventionlib/ lib/ lib/ +1 more | +18 | 0 replies | |
| 3/3 | lib/crypto: x86/sha512: Follow the normal %rbp conventionlib/ lib/ lib/ | +18 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ard Biesheuvel |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] lib/crypto: x86/sha: Follow the normal %rbp convention
This series updates the x86 SHA-1, SHA-256, and SHA-512 assembly code to set up %rbp before pushing GPRs rather than after, so that the frame pointer unwinder will generate call traces reliably.
This doesn't matter much, given that the ORC unwinder is the default, and the fallback to scanning the stack made call traces sort of "work" anyway. But it annoyed me that these assembly functions use the "wrong" %rbp convention, differing from the C code.
This series is targeting libcrypto-next.
Eric Biggers (3):
lib/crypto: x86/sha1: Follow the normal %rbp convention lib/crypto: x86/sha256: Follow the normal %rbp convention lib/crypto: x86/sha512: Follow the normal %rbp convention
lib/crypto/x86/sha1-avx2-asm.S | 10 +++++----- lib/crypto/x86/sha1-ssse3-and-avx.S | 9 +++++---- lib/crypto/x86/sha256-avx-asm.S | 10 +++++----- lib/crypto/x86/sha256-avx2-asm.S | 10 ++++------ lib/crypto/x86/sha256-ni-asm.S | 9 +++++---- lib/crypto/x86/sha256-ssse3-asm.S | 8 ++++---- lib/crypto/x86/sha512-avx-asm.S | 11 ++++++----- lib/crypto/x86/sha512-avx2-asm.S | 11 ++++++----- lib/crypto/x86/sha512-ssse3-asm.S | 11 ++++++----- 9 files changed, 46 insertions(+), 43 deletions(-)
base-commit: 6a50ce0af5c91fd665d65d357af8ae55db1df7d0
Signature · 1 line
2.56.0