diff options
author | Keith Busch <kbusch@kernel.org> | 2022-03-03 12:13:10 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-07 12:48:35 -0700 |
commit | 547a998d5ae0edddfd2ca41a9b8b4175d0e1c12b (patch) | |
tree | 17ad83295d3798527a0525618b8e9a45b829f129 /crypto/Makefile | |
parent | 24eb1f589f4f6dcb1e6e676c4256cbc246b8ac39 (diff) | |
download | linux-crypto-547a998d5ae0edddfd2ca41a9b8b4175d0e1c12b.tar.gz linux-crypto-547a998d5ae0edddfd2ca41a9b8b4175d0e1c12b.zip |
crypto: add rocksoft 64b crc guard tag framework
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>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index d76bff8d..f754c4d1 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -152,6 +152,7 @@ obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o obj-$(CONFIG_CRYPTO_CRC32C) += crc32c_generic.o obj-$(CONFIG_CRYPTO_CRC32) += crc32_generic.o obj-$(CONFIG_CRYPTO_CRCT10DIF) += crct10dif_common.o crct10dif_generic.o +obj-$(CONFIG_CRYPTO_CRC64_ROCKSOFT) += crc64_rocksoft_generic.o obj-$(CONFIG_CRYPTO_AUTHENC) += authenc.o authencesn.o obj-$(CONFIG_CRYPTO_LZO) += lzo.o lzo-rle.o obj-$(CONFIG_CRYPTO_LZ4) += lz4.o |