]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05a38503446f8350d403fe4b6a494b2fe436d19c
treea1be2f5e00261b99e8ab85864dbb16075d809eb7
parent766c2e51ac12c42b16fb8278f4e28f22b93df528
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