linux_dsm_epyc7002/drivers/crypto/nx
Dan Streetman ed70b479c2 crypto: nx - add hardware 842 crypto comp alg
Add crypto compression alg for 842 hardware compression and decompression,
using the alg name "842" and driver_name "842-nx".

This uses only the PowerPC coprocessor hardware for 842 compression.  It
also uses the hardware for decompression, but if the hardware fails it will
fall back to the 842 software decompression library, so that decompression
never fails (for valid 842 compressed buffers).  A header must be used in
most cases, due to the hardware's restrictions on the buffers being
specifically aligned and sized.

Due to the header this driver adds, compressed buffers it creates cannot be
directly passed to the 842 software library for decompression.  However,
compressed buffers created by the software 842 library can be passed to
this driver for hardware 842 decompression (with the exception of buffers
containing the "short data" template, as lib/842/842.h explains).

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-05-11 15:06:48 +08:00
..
Kconfig crypto: nx - add hardware 842 crypto comp alg 2015-05-11 15:06:48 +08:00
Makefile crypto: nx - add hardware 842 crypto comp alg 2015-05-11 15:06:48 +08:00
nx_csbcpb.h powerpc/crypto: nx driver code supporting nx encryption 2012-05-16 15:05:41 +10:00
nx_debugfs.c powerpc/crypto: debugfs routines and docs for the nx device driver 2012-05-16 15:05:45 +10:00
nx-842-crypto.c crypto: nx - add hardware 842 crypto comp alg 2015-05-11 15:06:48 +08:00
nx-842-powernv.c crypto: nx - add PowerNV platform NX-842 driver 2015-05-11 15:06:47 +08:00
nx-842-pseries.c crypto: nx - simplify pSeries nx842 driver 2015-05-11 15:06:47 +08:00
nx-842.c crypto: nx - add PowerNV platform NX-842 driver 2015-05-11 15:06:47 +08:00
nx-842.h crypto: nx - add PowerNV platform NX-842 driver 2015-05-11 15:06:47 +08:00
nx-aes-cbc.c crypto: nx - Moving NX-AES-CBC to be processed logic 2014-11-06 23:15:00 +08:00
nx-aes-ccm.c crypto: nx - Moving NX-AES-CCM to be processed logic and sg_list bounds 2014-11-06 23:15:00 +08:00
nx-aes-ctr.c crypto: nx - Moving limit and bound logic in CTR and fix IV vector 2014-11-06 23:15:01 +08:00
nx-aes-ecb.c crypto: nx - Moving NX-AES-ECB to be processed logic 2014-11-06 23:15:01 +08:00
nx-aes-gcm.c crypto: nx - Moving NX-AES-GCM to be processed logic 2014-11-06 23:15:02 +08:00
nx-aes-xcbc.c crypto: nx - Moving NX-AES-XCBC to be processed logic 2014-11-06 23:15:02 +08:00
nx-sha256.c crypto: nx - Fixing SHA update bug 2015-04-26 14:33:19 +08:00
nx-sha512.c crypto: nx - Fixing SHA update bug 2015-04-26 14:33:19 +08:00
nx.c crypto: nx - Fixing SHA update bug 2015-04-26 14:33:19 +08:00
nx.h crypto: nx - Fixing SHA update bug 2015-04-26 14:33:19 +08:00