]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: lib/chacha - remove unused arch-specific init support
authorEric Biggers <ebiggers@google.com>
Sun, 16 Mar 2025 04:57:47 +0000 (21:57 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Mar 2025 09:39:06 +0000 (17:39 +0800)
commitca17aa664054a5b809dc823ff1c202370ef398ef
tree299606cebccd77cbec178d879e073e032e7ee0c5
parentfce8b8d5986b76a4fdd062e3eec1bb6420fee6c5
crypto: lib/chacha - remove unused arch-specific init support

All implementations of chacha_init_arch() just call
chacha_init_generic(), so it is pointless.  Just delete it, and replace
chacha_init() with what was previously chacha_init_generic().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/chacha-glue.c
arch/arm64/crypto/chacha-neon-glue.c
arch/mips/crypto/chacha-glue.c
arch/powerpc/crypto/chacha-p10-glue.c
arch/s390/crypto/chacha-glue.c
arch/x86/crypto/chacha_glue.c
crypto/chacha_generic.c
include/crypto/chacha.h
tools/testing/crypto/chacha20-s390/test-cipher.c