[PATCH] crypto: Fix byte counter overflow in SHA-512

2012-03-16 Thread Kent Yoder
The current code only increments the upper 64 bits of the SHA-512 byte counter when the number of bytes hashed happens to hit 2^64 exactly. This patch increments the upper 64 bits whenever the lower 64 bits overflows. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- crypto/sha512_generic.c

[PATCH 00/17] Platform Facilities Option and crypto accelerator driver

2012-03-21 Thread Kent Yoder
for the random number generator and the cryptographic accelerators. Please cc me on replies. Thanks, Kent Kent Yoder (12): powerpc: crypto: AES-CBC mode routines for nx encryption powerpc: crypto: AES-CCM mode routines for nx encryption powerpc: crypto: AES-CTR mode routines for nx encryption

[PATCH 01/17] powerpc: Add new hvcall constants to support PFO

2012-03-21 Thread Kent Yoder
From: Robert Jennings r...@linux.vnet.ibm.com The Platform Facilities Option (PFO) adds several new h_calls and more return codes. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/hvcall.h | 25

[PATCH 03/17] powerpc: Add PFO support to the VIO bus

2012-03-21 Thread Kent Yoder
device drivers to make synchronous hypervisor calls. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/vio.h | 46 +++ arch/powerpc/kernel/vio.c | 274 ++-- 2 files

[PATCH 02/17] powerpc: Add pseries update notifier for OFDT prop changes

2012-03-21 Thread Kent Yoder
that is triggered by updates to ofdt properties. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/pSeries_reconfig.h | 12 arch/powerpc/platforms/pseries/reconfig.c |7 +++ 2 files changed, 19

[PATCH 04/17] hwrng: pseries - PFO-based hwrng driver

2012-03-21 Thread Kent Yoder
From: Michael Neuling mi...@neuling.org Adds support for the Platform Facilities Option (PFO)-based hardware random number generator for POWER hardware. Signed-off-by: Michael Neuling mi...@neuling.org Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k

[PATCH 05/17] pseries: Enabled the PFO-based RNG accelerator

2012-03-21 Thread Kent Yoder
...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/kernel/prom_init.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index eca626e..6691077 100644 --- a/arch/powerpc/kernel

[PATCH 07/17] powerpc: crypto: AES-CCM mode routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for AES in CCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-aes-ccm.c | 466 +++ 1 files changed, 466 insertions(+), 0 deletions(-) create mode

[PATCH 06/17] powerpc: crypto: AES-CBC mode routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for AES in CBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-aes-cbc.c | 135 +++ 1 files changed, 135 insertions(+), 0 deletions(-) create mode

[PATCH 10/17] powerpc: crypto: AES-GCM mode routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for AES in GCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-aes-gcm.c | 352 +++ 1 files changed, 352 insertions(+), 0 deletions(-) create mode

[PATCH 11/17] powerpc: crypto: AES-XCBC mode routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for AES in XCBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-aes-xcbc.c | 230 ++ 1 files changed, 230 insertions(+), 0 deletions(-) create mode

[PATCH 12/17] powerpc: crypto: SHA256 hash routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for SHA-256 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-sha256.c | 240 1 files changed, 240 insertions(+), 0 deletions(-) create mode

[PATCH 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-03-21 Thread Kent Yoder
These routines add the base device driver code supporting the Power7+ in-Nest encryption accelerator (nx) device. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx.c| 710 arch/powerpc/crypto/nx/nx.h| 190

[PATCH 15/17] powerpc: crypto: sysfs routines and docs for the nx device driver

2012-03-21 Thread Kent Yoder
These routines add sysfs files supporting the Power7+ in-Nest encryption accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- Documentation/powerpc/pfo-nx-crypto.txt | 52 arch/powerpc/crypto/nx/nx_sysfs.c | 194 +++ 2 files

[PATCH 13/17] powerpc: crypto: SHA512 hash routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for SHA-512 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-sha512.c | 259 1 files changed, 259 insertions(+), 0 deletions(-) create mode

[PATCH 16/17] powerpc: crypto: Build files for the nx device driver

2012-03-21 Thread Kent Yoder
These files support configuring and building the nx device driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/Makefile |1 + arch/powerpc/crypto/nx/Makefile | 11 +++ drivers/crypto/Kconfig | 18 ++ 3 files changed, 30

[PATCH 17/17] powerpc: crypto: enable the PFO-based encryption device

2012-03-21 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based encryption accelerator device. The nx device driver provides support for this hardware feature. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/kernel/prom_init.c |8

[PATCH 09/17] powerpc: crypto: AES-ECB mode routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for AES in ECB mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-aes-ecb.c | 133 +++ 1 files changed, 133 insertions(+), 0 deletions(-) create mode

[PATCH 08/17] powerpc: crypto: AES-CTR mode routines for nx encryption

2012-03-21 Thread Kent Yoder
These routines add support for AES in CTR mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/crypto/nx/nx-aes-ctr.c | 175 +++ 1 files changed, 175 insertions(+), 0 deletions(-) create mode

Re: [PATCH 15/17] powerpc: crypto: sysfs routines and docs for the nx device driver

2012-03-21 Thread Kent Yoder
Hi Greg, On Wed, 2012-03-21 at 15:11 -0700, Greg KH wrote: On Wed, Mar 21, 2012 at 04:41:20PM -0500, Kent Yoder wrote: These routines add sysfs files supporting the Power7+ in-Nest encryption accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- Documentation

Re: [PATCH 00/17] Platform Facilities Option and crypto accelerator driver

2012-03-22 Thread Kent Yoder
Hi Kumar, Is there a reason this isn't in drivers/crypto/ Other arch-specific dirs have their crypto subdir as well such as arch/s390. I was just matching that. Kent - k -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body of a message to

Re: [PATCH 00/17] Platform Facilities Option and crypto accelerator driver

2012-03-26 Thread Kent Yoder
From what I can tell this isn't ISA level instructions and thus should NOT be in arch/powerpc. This should be moved into drivers/crypto That makes sense. I'll move them over in my next submission. Kent - k -- To unsubscribe from this list: send the line unsubscribe linux-crypto in

[PATCH v2 00/17] Platform Facilities Option and crypto accelerators

2012-04-10 Thread Kent Yoder
Jennings) - get rid of bitfields in nx_csbcpb.h (Rob Jennings) - Compile against Ben Herrenschmidt's ppc device naming patch - Rebase against latest upstream Kent Yoder (12): powerpc: crypto: AES-CBC mode routines for nx encryption powerpc: crypto: AES-CCM mode routines for nx encryption

[PATCH v2 05/17] pseries: Enabled the PFO-based RNG accelerator

2012-04-10 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based random number generator accerator. The pseries-rng driver provides support for this hardware feature. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k

[PATCH v2 07/17] powerpc: crypto: AES-CCM mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in CCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ccm.c | 465 1 files changed, 465 insertions(+), 0 deletions(-) create mode

[PATCH v2 04/17] hwrng: pseries - PFO-based hwrng driver

2012-04-10 Thread Kent Yoder
Adds support for the Platform Facilities Option (PFO)-based hardware random number generator for POWER hardware. Signed-off-by: Michael Neuling mi...@neuling.org Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/char/hw_random

[PATCH v2 03/17] powerpc: Add PFO support to the VIO bus

2012-04-10 Thread Kent Yoder
. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/vio.h | 46 +++ arch/powerpc/kernel/vio.c | 273 ++-- 2 files changed, 280 insertions(+), 39 deletions(-) diff

[PATCH v2 12/17] powerpc: crypto: SHA256 hash routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for SHA-256 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha256.c | 244 + 1 files changed, 244 insertions(+), 0 deletions(-) create mode

[PATCH v2 11/17] powerpc: crypto: AES-XCBC mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in XCBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-xcbc.c | 234 +++ 1 files changed, 234 insertions(+), 0 deletions(-) create mode

[PATCH v2 06/17] powerpc: crypto: AES-CBC mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in CBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-cbc.c | 140 1 files changed, 140 insertions(+), 0 deletions(-) create mode

[PATCH v2 09/17] powerpc: crypto: AES-ECB mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in ECB mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ecb.c | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode

[PATCH v2 16/17] powerpc: crypto: Build files for the nx device driver

2012-04-10 Thread Kent Yoder
These files support configuring and building the nx device driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/Makefile |1 + drivers/crypto/Kconfig | 17 + drivers/crypto/nx/Makefile | 11 +++ 3 files changed, 29 insertions(+), 0

[PATCH v2 10/17] powerpc: crypto: AES-GCM mode routines for nx encryption

2012-04-10 Thread Kent Yoder
These routines add support for AES in GCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-gcm.c | 353 1 files changed, 353 insertions(+), 0 deletions(-) create mode

[PATCH v2 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-10 Thread Kent Yoder
These routines add the base device driver code supporting the Power7+ in-Nest encryption accelerator (nx) device. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx.c| 711 + drivers/crypto/nx/nx.h| 192

[PATCH v2 01/17] powerpc: Add new hvcall constants to support PFO

2012-04-10 Thread Kent Yoder
The Platform Facilities Option (PFO) adds several new h_calls and more return codes. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/hvcall.h | 25 +++-- 1 files changed, 23 insertions

[PATCH v2 02/17] powerpc: Add pseries update notifier for OFDT prop changes

2012-04-10 Thread Kent Yoder
-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/pSeries_reconfig.h | 12 arch/powerpc/platforms/pseries/reconfig.c |7 +++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH v2 17/17] powerpc: crypto: enable the PFO-based encryption device

2012-04-10 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based encryption accelerator device. The nx device driver provides support for this hardware feature. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/kernel/prom_init.c |3 ++- 1

Re: [PATCH v2 14/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-10 Thread Kent Yoder
Hi Dave, On Tue, 2012-04-10 at 14:41 -0400, David Miller wrote: From: Kent Yoder k...@linux.vnet.ibm.com Date: Tue, 10 Apr 2012 10:10:57 -0500 These routines add the base device driver code supporting the Power7+ in-Nest encryption accelerator (nx) device. Signed-off-by: Kent Yoder k

[PATCH v3 00/17] Platform Facilities Option and crypto accelerators

2012-04-12 Thread Kent Yoder
Kent Yoder (12): powerpc: crypto: nx driver code supporting nx encryption powerpc: crypto: AES-CBC mode routines for nx encryption powerpc: crypto: AES-CCM mode routines for nx encryption powerpc: crypto: AES-CTR mode routines for nx encryption powerpc: crypto: AES-ECB mode routines

[PATCH v3 03/17] powerpc: Add PFO support to the VIO bus

2012-04-12 Thread Kent Yoder
. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/vio.h | 46 +++ arch/powerpc/kernel/vio.c | 273 ++-- 2 files changed, 280 insertions(+), 39 deletions(-) diff

[PATCH v3 04/17] hwrng: pseries - PFO-based hwrng driver

2012-04-12 Thread Kent Yoder
Adds support for the Platform Facilities Option (PFO)-based hardware random number generator for POWER hardware. Signed-off-by: Michael Neuling mi...@neuling.org Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/char/hw_random

[PATCH v3 05/17] pseries: Enabled the PFO-based RNG accelerator

2012-04-12 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based random number generator accerator. The pseries-rng driver provides support for this hardware feature. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k

[PATCH v3 06/17] powerpc: crypto: nx driver code supporting nx encryption

2012-04-12 Thread Kent Yoder
These routines add the base device driver code supporting the Power7+ in-Nest encryption accelerator (nx) device. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx.c| 711 + drivers/crypto/nx/nx.h| 192

[PATCH v3 07/17] powerpc: crypto: AES-CBC mode routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for AES in CBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-cbc.c | 140 1 files changed, 140 insertions(+), 0 deletions(-) create mode

[PATCH v3 08/17] powerpc: crypto: AES-CCM mode routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for AES in CCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ccm.c | 465 1 files changed, 465 insertions(+), 0 deletions(-) create mode

[PATCH v3 10/17] powerpc: crypto: AES-ECB mode routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for AES in ECB mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ecb.c | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode

[PATCH v3 11/17] powerpc: crypto: AES-GCM mode routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for AES in GCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-gcm.c | 353 1 files changed, 353 insertions(+), 0 deletions(-) create mode

[PATCH v3 14/17] powerpc: crypto: SHA512 hash routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for SHA-512 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha512.c | 263 + 1 files changed, 263 insertions(+), 0 deletions(-) create mode

[PATCH v3 15/17] powerpc: crypto: debugfs routines and docs for the nx device driver

2012-04-12 Thread Kent Yoder
These routines add debugfs files supporting the Power7+ in-Nest encryption accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++ drivers/crypto/nx/nx_debugfs.c | 103

[PATCH v3 16/17] powerpc: crypto: Build files for the nx device driver

2012-04-12 Thread Kent Yoder
These files support configuring and building the nx device driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/Makefile |1 + drivers/crypto/Kconfig | 17 + drivers/crypto/nx/Makefile | 11 +++ 3 files changed, 29 insertions(+), 0

[PATCH v3 17/17] powerpc: crypto: enable the PFO-based encryption device

2012-04-12 Thread Kent Yoder
This patch adds the cas bits to advertise support for the Platform Facilities Option (PFO) based encryption accelerator device. The nx device driver provides support for this hardware feature. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/kernel/prom_init.c |3 ++- 1

[PATCH v3 09/17] powerpc: crypto: AES-CTR mode routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for AES in CTR mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ctr.c | 177 1 files changed, 177 insertions(+), 0 deletions(-) create mode

[PATCH v3 01/17] powerpc: Add new hvcall constants to support PFO

2012-04-12 Thread Kent Yoder
The Platform Facilities Option (PFO) adds several new h_calls and more return codes. Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- arch/powerpc/include/asm/hvcall.h | 25 +++-- 1 files changed, 23 insertions

[PATCH v3 13/17] powerpc: crypto: SHA256 hash routines for nx encryption

2012-04-12 Thread Kent Yoder
These routines add support for SHA-256 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha256.c | 244 + 1 files changed, 244 insertions(+), 0 deletions(-) create mode

[PATCH v4 09/17] powerpc: crypto: AES-CTR mode routines for nx encryption

2012-05-14 Thread Kent Yoder
These routines add support for AES in CTR mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ctr.c | 178 1 files changed, 178 insertions(+), 0 deletions(-) create mode

[PATCH v4 11/17] powerpc: crypto: AES-GCM mode routines for nx encryption

2012-05-14 Thread Kent Yoder
These routines add support for AES in GCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-gcm.c | 353 1 files changed, 353 insertions(+), 0 deletions(-) create mode

[PATCH v4 08/17] powerpc: crypto: AES-CCM mode routines for nx encryption

2012-05-14 Thread Kent Yoder
These routines add support for AES in CCM mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-ccm.c | 468 1 files changed, 468 insertions(+), 0 deletions(-) create mode

[PATCH v4 12/17] powerpc: crypto: AES-XCBC mode routines for nx encryption

2012-05-14 Thread Kent Yoder
These routines add support for AES in XCBC mode on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-aes-xcbc.c | 236 +++ 1 files changed, 236 insertions(+), 0 deletions(-) create mode

[PATCH v4 14/17] powerpc: crypto: SHA512 hash routines for nx encryption

2012-05-14 Thread Kent Yoder
These routines add support for SHA-512 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha512.c | 265 + 1 files changed, 265 insertions(+), 0 deletions(-) create mode

[PATCH v4 13/17] powerpc: crypto: SHA256 hash routines for nx encryption

2012-05-14 Thread Kent Yoder
These routines add support for SHA-256 hashing on the Power7+ CPU's in-Nest accelerator driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- drivers/crypto/nx/nx-sha256.c | 246 + 1 files changed, 246 insertions(+), 0 deletions(-) create mode

Re: [PATCH 1/2] drivers: crypto: move nx build to driver/crypto Makefile

2012-06-13 Thread Kent Yoder
. Acked-by: Kent Yoder k...@linux.vnet.ibm.com Cc: Kent Yoder k...@linux.vnet.ibm.com Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com --- arch/powerpc/Makefile |1 - drivers/crypto/Makefile |3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch

Re: [PATCH 2/2] drivers: crypto: fix typo in nx driver config option

2012-06-13 Thread Kent Yoder
On Wed, 2012-06-13 at 13:22 -0500, Seth Jennings wrote: Cc: Kent Yoder k...@linux.vnet.ibm.com Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com --- drivers/crypto/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Kent Yoder k...@linux.vnet.ibm.com diff

Re: [PATCH 13/14] crypto: drivers - remove cra_list initialization

2012-07-13 Thread Kent Yoder
() with list_add(). Therefore perform cleanup to remove all unneeded initializations of this field in 'crypto/drivers/'. Acked-by: Kent Yoder k...@linux.vnet.ibm.com Thanks, Kent -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body of a message to majord...@vger.kernel.org

[PATCH] crypto: Add a MAINTAINERS entry for P7+ in-Nest crypto driver

2012-07-31 Thread Kent Yoder
Add a MAINTAINERS entry for the IBM Power in-Nest Crypto Acceleators driver. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fb036a0..757fe60 100644 --- a/MAINTAINERS

[PATCH] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-03-04 Thread Kent Yoder
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. Signed-off-by: Kent Yoder k

Re: Fwd: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-04-10 Thread Kent Yoder
Yoder wrote: Hi Ben, will you carry this patch in the linuxppc-dev tree? I can but I'm on vacation until end of April roughly. Cheers, Ben. Thanks, Kent -- Forwarded message -- From: Kent Yoder shpedoi...@gmail.com Date: Wed, Mar 20, 2013 at 9:22 AM Subject: [PATCH v2

[PATCH] drivers/crypto/nx: fixes for multiple issues

2013-04-12 Thread Kent Yoder
for number of bytes processed in the sha code. Signed-off-by: Kent Yoder k...@linux.vnet.ibm.com --- Patch v3, was: drivers/crypto/nx: fix init race, alignmasks and GCM bug Applied to: git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git#next drivers/crypto/nx/nx-aes-cbc.c | 1

Re: [PATCH] drivers/crypto/nx: fixes for multiple issues

2013-05-06 Thread Kent Yoder
Hi Ben, just a friendly reminder to please apply. Thanks, Kent On Fri, Apr 12, 2013 at 12:13:59PM -0500, Kent Yoder wrote: 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

Re: [PATCH] drivers/crypto/nx: fixes for multiple issues

2013-05-06 Thread Kent Yoder
Thanks! Kent On Mon, May 6, 2013 at 4:53 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2013-05-06 at 14:24 -0500, Kent Yoder wrote: Hi Ben, just a friendly reminder to please apply. Oh, I assumed that stuff was going via some drivers/crypto maintainer... I can apply