Skip to content

crypto: arm64 - use frame_push/pop macros

Ard Biesheuvel linux-arm-kernel linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: arm64/aes-neonbs - use frame_push/pop consistentlyarch/arm64/crypto/aes-neonbs-core.S+7 -90 replies
2/4crypto: arm64/aes-modes - use frame_push/pop macros consistentlyarch/arm64/crypto/aes-modes.S+12 -220 replies
3/4crypto: arm64/crct10dif - use frame_push/pop macros consistentlyarch/arm64/crypto/crct10dif-ce-core.S+2 -30 replies
4/4crypto: arm64/ghash-ce - use frame_push/pop macros consistentlyarch/arm64/crypto/ghash-ce-core.S+3 -50 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/4] crypto: arm64 - use frame_push/pop macros

We have a pair of macros on arm64 that can be used in asm code to set up and tear down the stack frame when implementing a non-leaf function.

We will be adding support for shadow call stack and pointer authentication to those macros, so that the code in question is less likely to be abused for someone's ROP/JOP enjoyment. So let's fix the existing crypto code to use those macros where they should be used.

Ard Biesheuvel (4):
crypto: arm64/aes-neonbs - use frame_push/pop consistently
crypto: arm64/aes-modes - use frame_push/pop macros consistently
crypto: arm64/crct10dif - use frame_push/pop macros consistently
crypto: arm64/ghash-ce - use frame_push/pop macros consistently

 arch/arm64/crypto/aes-modes.S         | 34 +++++++-------------
 arch/arm64/crypto/aes-neonbs-core.S   | 16 ++++-----
 arch/arm64/crypto/crct10dif-ce-core.S |  5 ++-
 arch/arm64/crypto/ghash-ce-core.S     |  8 ++---
 4 files changed, 24 insertions(+), 39 deletions(-)
Signature · 7 lines
2.35.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel