crypto: 842 - change 842 alg to use software
authorDan Streetman <ddstreet@ieee.org>
Thu, 7 May 2015 17:49:15 +0000 (13:49 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 May 2015 07:06:43 +0000 (15:06 +0800)
commit2062c5b6da758ca2bb64b698d7f9c5c45a06fcf9
treea1be2f5e00261b99e8ab85864dbb16075d809eb7
parent2da572c959dd5815aef153cf62010b16a498a0d3
crypto: 842 - change 842 alg to use software

Change the crypto 842 compression alg to use the software 842 compression
and decompression library.  Add the crypto driver_name as "842-generic".
Remove the fallback to LZO compression.

Previously, this crypto compression alg attemped 842 compression using
PowerPC hardware, and fell back to LZO compression and decompression if
the 842 PowerPC hardware was unavailable or failed.  This should not
fall back to any other compression method, however; users of this crypto
compression alg can fallback if desired, and transparent fallback tricks
callers into thinking they are getting 842 compression when they actually
get LZO compression - the failure of the 842 hardware should not be
transparent to the caller.

The crypto compression alg for a hardware device also should not be located
in crypto/ so this is now a software-only implementation that uses the 842
software compression/decompression library.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
MAINTAINERS
crypto/842.c
crypto/Kconfig
This page took 0.027165 seconds and 5 git commands to generate.