]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: crypto: Add crc32 and crc32c hw accelerated module
authorMarcin Nowakowski <marcin.nowakowski@mips.com>
Fri, 9 Feb 2018 22:11:06 +0000 (22:11 +0000)
committerJames Hogan <jhogan@kernel.org>
Mon, 19 Feb 2018 20:50:36 +0000 (20:50 +0000)
commit4c9dd698c5e65081cc69fbc65ddbacd6d13a4b81
tree3a3aff80ed9c941debeb71b973ea772dff81144e
parentf24a7ff95dc44fb112fab400001ec883f0993d4c
MIPS: crypto: Add crc32 and crc32c hw accelerated module

This module registers crc32 and crc32c algorithms that use the
optional CRC32[bhwd] and CRC32C[bhwd] instructions in MIPSr6 cores.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@mips.com>
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-mips@linux-mips.org
Cc: linux-crypto@vger.kernel.org
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Patchwork: https://patchwork.linux-mips.org/patch/18601/
[jhogan@kernel.org: Add CRYPTO_ALG_OPTIONAL_KEY flag on Eric Biggers'
 suggestion, due to commit 1bed1b2db897 ("crypto: hash - annotate
 algorithms taking optional key") in v4.16-rc1]
arch/mips/Kconfig
arch/mips/Makefile
arch/mips/crypto/Makefile [new file with mode: 0644]
arch/mips/crypto/crc32-mips.c [new file with mode: 0644]
crypto/Kconfig