[PATCH 0/3] ARM: assembler: clean up byte swapping macros

Ard Biesheuvel ardb at kernel.org
Wed Dec 9 05:36:31 EST 2020


Consolidate the byte swapping macros used in various places, and use
them throughout. Patches #2 and #3 will be sent to Herbert for merging
via the crypto tree once patch #1 is merged (or if Russell prefers to
ack patch #1 instead, the whole series can go through the crypto tree)

Cc: Geert Uytterhoeven <geert+renesas at glider.be>
Cc: Nicolas Pitre <nico at fluxnic.net>
Cc: Eric Biggers <ebiggers at google.com>
Cc: Linus Walleij <linus.walleij at linaro.org>

Ard Biesheuvel (3):
  ARM: assembler: generalize byte swapping macro into rev_32
  crypto: arm/aes-scalar - switch to common rev_32/mov_l macros
  crypto: arm/chacha-scalar - switch to common rev_32 macro

 arch/arm/boot/compressed/head.S      |  5 +--
 arch/arm/crypto/aes-cipher-core.S    | 42 +++++--------------
 arch/arm/crypto/chacha-scalar-core.S | 43 ++++++--------------
 arch/arm/include/asm/assembler.h     | 11 +++++
 4 files changed, 35 insertions(+), 66 deletions(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list