crypto: mips/poly1305 - enable for all MIPS processors
authorMaciej W. Rozycki <macro@orcam.me.uk>
Wed, 3 Mar 2021 01:16:04 +0000 (02:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 16:06:10 +0000 (17:06 +0100)
commitb0454a28f60878539a55439436ea9ad29728d366
tree75d431f133401fb4c45593ff68e201a73955f2e9
parenta0df424a863aa6a2e8bd57ef5e0928da5d5b797f
crypto: mips/poly1305 - enable for all MIPS processors

commit 6c810cf20feef0d4338e9b424ab7f2644a8b353e upstream.

The MIPS Poly1305 implementation is generic MIPS code written such as to
support down to the original MIPS I and MIPS III ISA for the 32-bit and
64-bit variant respectively.  Lift the current limitation then to enable
code for MIPSr1 ISA or newer processors only and have it available for
all MIPS processors.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Fixes: a11d055e7a64 ("crypto: mips/poly1305 - incorporate OpenSSL/CRYPTOGAMS optimized implementation")
Cc: stable@vger.kernel.org # v5.5+
Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/crypto/Makefile
crypto/Kconfig
drivers/net/Kconfig