linux/arch/mips/crypto
Paul Cercueil 41022eff9c MIPS: crypto: Fix CRC32 code
Commit 67512a8cf5 ("MIPS: Avoid macro redefinitions") changed how the
MIPS register macros were defined, in order to allow the code to compile
under LLVM/Clang.

The MIPS CRC32 code however wasn't updated accordingly, causing a build
bug when using a MIPS32r6 toolchain without CRC support.

Update the CRC32 code to use the macros correctly, to fix the build
failures.

Fixes: 67512a8cf5 ("MIPS: Avoid macro redefinitions")
Cc: <stable@vger.kernel.org>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-04-01 10:19:03 +02:00
..
.gitignore crypto: mips: add poly1305-core.S to .gitignore 2021-03-29 11:19:10 +02:00
chacha-core.S crypto: mips/chacha - wire up accelerated 32r2 code from Zinc 2019-11-17 09:02:40 +08:00
chacha-glue.c crypto: arch - conditionalize crypto api in arch glue for lib code 2019-11-27 13:08:49 +08:00
crc32-mips.c MIPS: crypto: Fix CRC32 code 2022-04-01 10:19:03 +02:00
Makefile crypto: mips/poly1305 - enable for all MIPS processors 2021-03-08 11:52:17 +01:00
poly1305-glue.c crypto: poly1305 - fix poly1305_core_setkey() declaration 2021-04-02 18:28:12 +11:00
poly1305-mips.pl crypto: mips/poly1305 - incorporate OpenSSL/CRYPTOGAMS optimized implementation 2019-11-17 09:02:42 +08:00