crypto: x86/chacha - Restore SSSE3 fallback path
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 8 Apr 2025 02:12:20 +0000 (10:12 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 Apr 2025 13:35:27 +0000 (21:35 +0800)
commit3be3f70ee95da03a87d94c4a714ee679a5c7b34d
tree60dbcfbf1cff998e200460bf19a526fde967add0
parent5322584385d938773cbb562db64d8423dd5fd026
crypto: x86/chacha - Restore SSSE3 fallback path

The chacha_use_simd static branch is required for x86 machines that
lack SSSE3 support.  Restore it and the generic fallback code.

Reported-by: Eric Biggers <ebiggers@kernel.org>
Fixes: 9b4400215e0e ("crypto: x86/chacha - Remove SIMD fallback path")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/chacha_glue.c