diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-07-19 10:42:41 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-08-01 05:47:56 -0400 |
commit | 35a1fc1873dd6deac6c005ead85424a8ee28183a (patch) | |
tree | 0d50a0e0bb3e6c5f8b82ed79c98e5d21101df9a0 /crypto/Kconfig | |
parent | 0e16aafb12046e12effbdaab179fbe1a38427ba9 (diff) |
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/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index fe8ed62efe2f..cbcc0e2eeda0 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -1039,6 +1039,15 @@ config CRYPTO_LZO | |||
1039 | help | 1039 | help |
1040 | This is the LZO algorithm. | 1040 | This is the LZO algorithm. |
1041 | 1041 | ||
1042 | config CRYPTO_842 | ||
1043 | tristate "842 compression algorithm" | ||
1044 | depends on CRYPTO_DEV_NX_COMPRESS | ||
1045 | # 842 uses lzo if the hardware becomes unavailable | ||
1046 | select LZO_COMPRESS | ||
1047 | select LZO_DECOMPRESS | ||
1048 | help | ||
1049 | This is the 842 algorithm. | ||
1050 | |||
1042 | comment "Random Number Generation" | 1051 | comment "Random Number Generation" |
1043 | 1052 | ||
1044 | config CRYPTO_ANSI_CPRNG | 1053 | config CRYPTO_ANSI_CPRNG |