aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorChanho Min <chanho.min@lge.com>2013-07-08 16:01:51 -0700
committerZiyan <jaraidaniel@gmail.com>2016-01-05 18:21:56 +0100
commita5933d5d744324168bc3d101c1f4515be79e0e22 (patch)
treeb81bbd6bf902234a85bdffaa6921a17b425d32b9 /crypto/Kconfig
parent7b9a73b755eb1fdd31f2f60f062c449ab47c5808 (diff)
downloadkernel_samsung_tuna-a5933d5d744324168bc3d101c1f4515be79e0e22.zip
kernel_samsung_tuna-a5933d5d744324168bc3d101c1f4515be79e0e22.tar.gz
kernel_samsung_tuna-a5933d5d744324168bc3d101c1f4515be79e0e22.tar.bz2
crypto: add lz4 Cryptographic API
Add support for lz4 and lz4hc compression algorithm using the lib/lz4/* codebase. [akpm@linux-foundation.org: fix warnings] Signed-off-by: Chanho Min <chanho.min@lge.com> Cc: "Darrick J. Wong" <djwong@us.ibm.com> Cc: Bob Pearson <rpearson@systemfabricworks.com> Cc: Richard Weinberger <richard@nod.at> Cc: Herbert Xu <herbert@gondor.hengli.com.au> Cc: Yann Collet <yann.collet.73@gmail.com> Cc: Kyungsik Lee <kyungsik.lee@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Conflicts: crypto/Kconfig crypto/Makefile Change-Id: Ic3495647e3a902a12ae1b1951ff9bd89011696e0
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index defa1d7..71b4836 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -898,6 +898,22 @@ config CRYPTO_LZO
help
This is the LZO algorithm.
+config CRYPTO_LZ4
+ tristate "LZ4 compression algorithm"
+ select CRYPTO_ALGAPI
+ select LZ4_COMPRESS
+ select LZ4_DECOMPRESS
+ help
+ This is the LZ4 algorithm.
+
+config CRYPTO_LZ4HC
+ tristate "LZ4HC compression algorithm"
+ select CRYPTO_ALGAPI
+ select LZ4HC_COMPRESS
+ select LZ4_DECOMPRESS
+ help
+ This is the LZ4 high compression mode algorithm.
+
comment "Random Number Generation"
config CRYPTO_ANSI_CPRNG