linux/drivers/crypto/nx
Dan Streetman 3154de7125 crypto: nx - fix nx-842 pSeries driver minimum buffer size
Reduce the nx-842 pSeries driver minimum buffer size from 128 to 8.
Also replace the single use of IO_BUFFER_ALIGN macro with the standard
and correct DDE_BUFFER_ALIGN.

The hw sometimes rejects buffers that contain padding past the end of the
8-byte aligned section where it sees the "end" marker.  With the minimum
buffer size set too high, some highly compressed buffers were being padded
and the hw was incorrectly rejecting them; this sets the minimum correctly
so there will be no incorrect padding.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-06-04 15:04:59 +08:00
..
Kconfig crypto: nx - add hardware 842 crypto comp alg 2015-05-11 15:06:48 +08:00
Makefile crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +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 - remove 842-nx null checks 2015-05-18 12:20:17 +08:00
nx-842-platform.c crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +08:00
nx-842-powernv.c crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +08:00
nx-842-pseries.c crypto: nx - fix nx-842 pSeries driver minimum buffer size 2015-06-04 15:04:59 +08:00
nx-842.c crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +08:00
nx-842.h crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +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 - Remove unnecessary maxauthsize check 2015-05-22 11:25:54 +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