diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-05-07 13:49:14 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-11 15:06:43 +0800 |
commit | 2da572c959dd5815aef153cf62010b16a498a0d3 (patch) | |
tree | c7718528d3539ff0e470448d28e6f094a7f70659 /lib/Kconfig | |
parent | edc424f8cd84bbae530d8a9f86caf1923606fb24 (diff) | |
download | linux-2da572c959dd5815aef153cf62010b16a498a0d3.tar.gz linux-2da572c959dd5815aef153cf62010b16a498a0d3.tar.bz2 linux-2da572c959dd5815aef153cf62010b16a498a0d3.zip |
lib: add software 842 compression/decompression
Add 842-format software compression and decompression functions.
Update the MAINTAINERS 842 section to include the new files.
The 842 compression function can compress any input data into the 842
compression format. The 842 decompression function can decompress any
standard-format 842 compressed data - specifically, either a compressed
data buffer created by the 842 software compression function, or a
compressed data buffer created by the 842 hardware compressor (located
in PowerPC coprocessors).
The 842 compressed data format is explained in the header comments.
This is used in a later patch to provide a full software 842 compression
and decompression crypto interface.
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 87da53bb1fef..42c925e9caea 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -213,6 +213,12 @@ config RANDOM32_SELFTEST # # compression support is select'ed if needed # +config 842_COMPRESS + tristate + +config 842_DECOMPRESS + tristate + config ZLIB_INFLATE tristate |