]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/crc64-rocksoft: stop wrapping the crypto API
authorEric Biggers <ebiggers@google.com>
Thu, 30 Jan 2025 03:51:20 +0000 (19:51 -0800)
committerEric Biggers <ebiggers@google.com>
Sun, 9 Feb 2025 04:06:19 +0000 (20:06 -0800)
commitfeb541bfacbe23bf19a96b96db03e6c7505e1b03
tree8cfa2019a08edcc24ce8133e226ff93fefc91cab
parent2014c95afecee3e76ca4a56956a936e23283f05b
lib/crc64-rocksoft: stop wrapping the crypto API

Following what was done for the CRC32 and CRC-T10DIF library functions,
get rid of the pointless use of the crypto API and make
crc64_rocksoft_update() call into the library directly.  This is faster
and simpler.

Remove crc64_rocksoft() (the version of the function that did not take a
'crc' argument) since it is unused.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Acked-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250130035130.180676-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
block/Kconfig
include/linux/crc64.h
lib/Kconfig
lib/Makefile
lib/crc64-rocksoft.c [deleted file]
lib/crc64.c