[PATCH 0/6] crypto: ccp - more code fixes/cleanup

From: Tom Lendacky
Date: Mon Jan 06 2014 - 14:34:09 EST


The following series implements a fix to hash length wrapping as well
as some additional fixes and cleanups (proper gfp_t type on some memory
allocations, scatterlist usage improvements, null request result field
checks and driver enabled/disabled changes).

This patch series is based on the cryptodev-2.6 kernel tree.

---

Tom Lendacky (6):
crypto: ccp - Apply appropriate gfp_t type to memory allocations
crypto: ccp - Cleanup scatterlist usage
crypto: ccp - Check for caller result area before using it
crypto: ccp - Change data length declarations to u64
crypto: ccp - Cleanup hash invocation calls
crypto: ccp - CCP device enabled/disabled changes


drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 38 +++++++++----
drivers/crypto/ccp/ccp-crypto-sha.c | 88 ++++++++++++++++++------------
drivers/crypto/ccp/ccp-crypto.h | 10 +++
drivers/crypto/ccp/ccp-dev.c | 15 +++++
drivers/crypto/ccp/ccp-ops.c | 34 ++++++------
drivers/crypto/ccp/ccp-pci.c | 3 +
include/linux/ccp.h | 20 +++++--
7 files changed, 139 insertions(+), 69 deletions(-)

--
Tom Lendacky

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/