]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
crypto: aegis128 - expose SIMD code path as separate driver
authorArd Biesheuvel <ardb@kernel.org>
Tue, 17 Nov 2020 13:32:14 +0000 (14:32 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Nov 2020 06:13:40 +0000 (17:13 +1100)
commitac50aec41a9f9590b1d48bd4daa2251f0025052a
treea7aa512520ee918e1a2ee6033bdbe9374b0c5ca9
parent97b70180b7f97224762b63f211305a8052d07960
crypto: aegis128 - expose SIMD code path as separate driver

Wiring the SIMD code into the generic driver has the unfortunate side
effect that the tcrypt testing code cannot distinguish them, and will
therefore not use the latter to fuzz test the former, as it does for
other algorithms.

So let's refactor the code a bit so we can register two implementations:
aegis128-generic and aegis128-simd.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Ondrej Mosnacek <omosnacek@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aegis128-core.c