]> git.baikalelectronics.ru Git - kernel.git/commit
lib: add software 842 compression/decompression
authorDan Streetman <ddstreet@ieee.org>
Thu, 7 May 2015 17:49:14 +0000 (13:49 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 May 2015 07:06:43 +0000 (15:06 +0800)
commitd324a100d49a3b94ccf46174e7918e91955ba70f
treec7718528d3539ff0e470448d28e6f094a7f70659
parentc7a633018fbf91be436fe369c0040312e9f67560
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>
MAINTAINERS
include/linux/sw842.h [new file with mode: 0644]
lib/842/842.h [new file with mode: 0644]
lib/842/842_compress.c [new file with mode: 0644]
lib/842/842_debugfs.h [new file with mode: 0644]
lib/842/842_decompress.c [new file with mode: 0644]
lib/842/Makefile [new file with mode: 0644]
lib/Kconfig
lib/Makefile