summaryrefslogtreecommitdiff
path: root/crypto/crc64_rocksoft_generic.c
AgeCommit message (Collapse)AuthorFilesLines
2022-03-07crypto: add rocksoft 64b crc guard tag frameworkKeith Busch1-0/+89
Hardware specific features may be able to calculate a crc64, so provide a framework for drivers to register their implementation. If nothing is registered, fallback to the generic table lookup implementation. The implementation is modeled after the crct10dif equivalent. Signed-off-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/r/20220303201312.3255347-7-kbusch@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>