linux/drivers/crypto/nx
Dan Streetman 20fc311fc0 crypto: nx - use common code for both NX decompress success cases
Replace the duplicated finishing code (set destination buffer length and
set return code to 0) in the case of decompressing a buffer with no header
with a goto to the success case of decompressing a buffer with a header.

This is a trivial change that allows both success cases to use common code,
and includes the pr_debug() msg in both cases as well.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-07-23 18:14:31 +08:00
..
Kconfig crypto: nx - add LE support to pSeries platform driver 2015-06-19 14:49:18 +08:00
Makefile crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +08:00
nx_csbcpb.h
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 - use common code for both NX decompress success cases 2015-07-23 18:14:31 +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 - reduce chattiness of platform drivers 2015-07-07 21:54:26 +08:00
nx-842-pseries.c crypto: nx - don't register pSeries driver if ENODEV 2015-07-23 18:14:30 +08:00
nx-842.c crypto: nx - replace NX842_MEM_COMPRESS with function 2015-06-15 18:15:57 +08:00
nx-842.h crypto: nx - add LE support to pSeries platform driver 2015-06-19 14:49:18 +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 - Convert ccm to new AEAD interface 2015-07-17 21:20:13 +08:00
nx-aes-ctr.c crypto: nx - Fix reentrancy bugs 2015-07-08 15:14:13 +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 - Use new IV convention 2015-07-14 14:56:47 +08:00
nx-aes-xcbc.c crypto: nx - Fix reentrancy bugs 2015-07-08 15:14:13 +08:00
nx-sha256.c crypto: nx - Fix reentrancy bugs 2015-07-08 15:14:13 +08:00
nx-sha512.c crypto: nx - Fix reentrancy bugs 2015-07-08 15:14:13 +08:00
nx.c crypto: nx - Convert ccm to new AEAD interface 2015-07-17 21:20:13 +08:00
nx.h crypto: nx - Convert ccm to new AEAD interface 2015-07-17 21:20:13 +08:00