summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2012-07-19 09:42:41 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2012-08-01 17:47:56 +0800
commita82ac8eb69947478a8ec7c89cda116c4b40d1b4b (patch)
treefc3afca384a9934fe62f85b7a35893db6ea2fd9b /crypto/Kconfig
parentfdc39619b41091b3faa6987457f30077fc3dacb4 (diff)
downloadlinux-crypto-a82ac8eb69947478a8ec7c89cda116c4b40d1b4b.tar.gz
linux-crypto-a82ac8eb69947478a8ec7c89cda116c4b40d1b4b.zip
powerpc/crypto: add 842 crypto driver
This patch add the 842 cryptographic API driver that submits compression requests to the 842 hardware compression accelerator driver (nx-compress). If the hardware accelerator goes offline for any reason (dynamic disable, migration, etc...), this driver will use LZO as a software failover for all future compression requests. For decompression requests, the 842 hardware driver contains a software implementation of the 842 decompressor to support the decompression of data that was compressed before the accelerator went offline. Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com> Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index fe8ed62e..cbcc0e2e 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1039,6 +1039,15 @@ config CRYPTO_LZO
help
This is the LZO algorithm.
+config CRYPTO_842
+ tristate "842 compression algorithm"
+ depends on CRYPTO_DEV_NX_COMPRESS
+ # 842 uses lzo if the hardware becomes unavailable
+ select LZO_COMPRESS
+ select LZO_DECOMPRESS
+ help
+ This is the 842 algorithm.
+
comment "Random Number Generation"
config CRYPTO_ANSI_CPRNG