]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - crypto/Kconfig
powerpc/crypto: add 842 crypto driver
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Thu, 19 Jul 2012 14:42:41 +0000 (09:42 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Aug 2012 09:47:56 +0000 (17:47 +0800)
commit35a1fc1873dd6deac6c005ead85424a8ee28183a
tree0d50a0e0bb3e6c5f8b82ed79c98e5d21101df9a0
parent0e16aafb12046e12effbdaab179fbe1a38427ba9
powerpc/crypto: add 842 crypto driver

This patch add the 842 cryptographic API driver that
submits compression requests to the 842 hardware compression
accelerator driver (nx-compress).

If the hardware accelerator goes offline for any reason
(dynamic disable, migration, etc...), this driver will use LZO
as a software failover for all future compression requests.
For decompression requests, the 842 hardware driver contains
a software implementation of the 842 decompressor to support
the decompression of data that was compressed before the accelerator
went offline.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/842.c [new file with mode: 0644]
crypto/Kconfig
crypto/Makefile