summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-08-22 20:47:36 -0700
committerDavid S. Miller <davem@davemloft.net>2012-08-22 20:47:36 -0700
commit442a7c40b1dac78588abfe8ed4c97e4bb8b36e73 (patch)
tree011ab920ea2f5868c01efa91531959d2b26e6368 /crypto
parent9bf4852d3d195f771503d5be547ac940b0b3472a (diff)
downloadlwn-442a7c40b1dac78588abfe8ed4c97e4bb8b36e73.tar.gz
lwn-442a7c40b1dac78588abfe8ed4c97e4bb8b36e73.zip
sparc64: Add CRC32C driver making use of the new crc32c opcode.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 49f867b2025d..83993ea84cce 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -336,6 +336,15 @@ config CRYPTO_CRC32C_INTEL
gain performance compared with software implementation.
Module will be crc32c-intel.
+config CRYPTO_CRC32C_SPARC64
+ tristate "CRC32c CRC algorithm (SPARC64)"
+ depends on SPARC64
+ select CRYPTO_HASH
+ select CRC32
+ help
+ CRC32c CRC algorithm implemented using sparc64 crypto instructions,
+ when available.
+
config CRYPTO_GHASH
tristate "GHASH digest algorithm"
select CRYPTO_GF128MUL