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

Nicolas Pitre nico at fluxnic.net
Wed Dec 9 09:48:20 EST 2020


On Wed, 9 Dec 2020, Ard Biesheuvel wrote:

> 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>

Reviewed-by: Nicolas Pitre <nico at fluxnic.net>

> 
> 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
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 



More information about the linux-arm-kernel mailing list