linux/drivers/crypto/nx
Kent Yoder 1ad936e850 drivers/crypto/nx: Fixes for multiple races and issues
Fixes a race on driver init with registering algorithms where the
driver status flag wasn't being set before self testing started.

  Added the cra_alignmask field for CBC and ECB modes.

  Fixed a bug in GCM where AES block size was being used instead of
authsize.

  Removed use of blkcipher_walk routines for scatterlist processing.
Corner cases in the code prevent us from processing an entire
scatterlist at a time and walking the buffers in block sized chunks
turns out to be unecessary anyway.

  Fixed off-by-one error in saving off extra data in the sha code.

  Fixed accounting error for number of bytes processed in the sha code.

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-05-24 18:11:10 +10:00
..
Kconfig powerpc/crypto: add 842 hardware compression driver 2012-08-01 17:47:56 +08:00
Makefile powerpc/crypto: add 842 hardware compression driver 2012-08-01 17:47:56 +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.c powerpc+of: Add of node/property notification chain for adds and removes 2012-11-15 12:56:41 +11:00
nx-aes-cbc.c drivers/crypto/nx: Fixes for multiple races and issues 2013-05-24 18:11:10 +10:00
nx-aes-ccm.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
nx-aes-ctr.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
nx-aes-ecb.c drivers/crypto/nx: Fixes for multiple races and issues 2013-05-24 18:11:10 +10:00
nx-aes-gcm.c drivers/crypto/nx: Fixes for multiple races and issues 2013-05-24 18:11:10 +10:00
nx-aes-xcbc.c powerpc/crypto: AES-XCBC mode routines for nx encryption 2012-05-16 15:05:43 +10:00
nx-sha256.c drivers/crypto/nx: Fixes for multiple races and issues 2013-05-24 18:11:10 +10:00
nx-sha512.c drivers/crypto/nx: Fixes for multiple races and issues 2013-05-24 18:11:10 +10:00
nx.c drivers/crypto/nx: Fixes for multiple races and issues 2013-05-24 18:11:10 +10:00
nx.h powerpc/crypto: nx driver code supporting nx encryption 2012-05-16 15:05:41 +10:00