Thanks!
Kent
On Mon, May 6, 2013 at 4:53 PM, Benjamin Herrenschmidt
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 app
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 cr
error for number of bytes processed in the sha code.
Signed-off-by: Kent Yoder
---
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 +
drivers/crypto/nx/n
No problem, turns out I had a few more updates I needed to sneak into
the patch anyway. Please see v3 in a new thread, applied to the
ppc-dev-next tree.
Thanks,
Kent
On Thu, Mar 28, 2013 at 1:24 PM, Benjamin Herrenschmidt
wrote:
> On Thu, 2013-03-28 at 11:32 -0500, Kent Yoder wrote:
>&g
Hi Ben, will you carry this patch in the linuxppc-dev tree?
Thanks,
Kent
-- Forwarded message --
From: Kent Yoder
Date: Wed, Mar 20, 2013 at 9:22 AM
Subject: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug
To: linux-ker...@vger.kernel.org
Cc: linux-crypto
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
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
Add a MAINTAINERS entry for the IBM Power in-Nest Crypto Acceleators
driver.
Signed-off-by: Kent Yoder
---
MAINTAINERS |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index fb036a0..757fe60 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
lg() with
> list_add(). Therefore perform cleanup to remove all unneeded initializations
> of this field in 'crypto/drivers/'.
Acked-by: Kent Yoder
Thanks,
Kent
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to major
On Wed, 2012-06-13 at 13:22 -0500, Seth Jennings wrote:
> Cc: Kent Yoder
> Signed-off-by: Seth Jennings
> ---
> drivers/crypto/Kconfig |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Kent Yoder
> diff --git a/drivers/crypto/Kconfig b/drivers/cryp
kefile where it
> belongs.
Acked-by: Kent Yoder
> Cc: Kent Yoder
> Signed-off-by: Seth Jennings
> ---
> arch/powerpc/Makefile |1 -
> drivers/crypto/Makefile |3 ++-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/Makefi
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha256.c | 246 +
1 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-xcbc.c | 236 +++
1 files changed, 236 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha512.c | 265 +
1 files changed, 265 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ccm.c | 468
1 files changed, 468 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-gcm.c | 353
1 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ctr.c | 178
1 files changed, 178 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ecb.c | 139
1 files changed, 139 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-cbc.c | 141
1 files changed, 141 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx.c| 716 +
drivers/crypto/nx/nx.h| 193 +++
drivers/crypto/nx
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha256.c | 244 +
1 files changed, 244 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/hvcall.h | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ctr.c | 177
1 files changed, 177 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
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
---
arch/powerpc/kernel/prom_init.c |3 ++-
1 files changed, 2
These files support configuring and building the nx device driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/Makefile |1 +
drivers/crypto/Kconfig | 17 +
drivers/crypto/nx/Makefile | 11 +++
3 files changed, 29 insertions(+), 0 deletions(-)
create
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-xcbc.c | 234 +++
1 files changed, 234 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add debugfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder
---
Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++
drivers/crypto/nx/nx_debugfs.c | 103 +++
2 files changed, 148
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha512.c | 263 +
1 files changed, 263 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-gcm.c | 353
1 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ecb.c | 138
1 files changed, 138 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ccm.c | 465
1 files changed, 465 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-cbc.c | 140
1 files changed, 140 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx.c| 711 +
drivers/crypto/nx/nx.h| 192 +++
drivers/crypto/nx
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
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c
igned-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
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/powerpc/include/asm/pSeries_reconfig.h
b
Adds support for the Platform Facilities Option (PFO)-based hardware
random number generator for POWER hardware.
Signed-off-by: Michael Neuling
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
drivers/char/hw_random/Kconfig | 13 +
drivers/char/hw_random/Makefile
.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/vio.h | 46 +++
arch/powerpc/kernel/vio.c | 273 ++--
2 files changed, 280 insertions(+), 39 deletions(-)
diff --git a/arch/powerpc/include/asm/vio.h b/arch
t upstream
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 ro
Hi Dave,
On Tue, 2012-04-10 at 14:41 -0400, David Miller wrote:
> From: Kent Yoder
> 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.
> >
> > Sig
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
---
arch/powerpc/kernel/prom_init.c |3 ++-
1 files changed, 2
igned-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
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/powerpc/include/asm/pSeries_reconfig.h
b
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/hvcall.h | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx.c| 711 +
drivers/crypto/nx/nx.h| 192 +++
drivers/crypto/nx
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-gcm.c | 353
1 files changed, 353 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ecb.c | 138
1 files changed, 138 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These files support configuring and building the nx device driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/Makefile |1 +
drivers/crypto/Kconfig | 17 +
drivers/crypto/nx/Makefile | 11 +++
3 files changed, 29 insertions(+), 0 deletions(-)
create
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-cbc.c | 140
1 files changed, 140 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add debugfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder
---
Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++
drivers/crypto/nx/nx_debugfs.c | 103 +++
2 files changed, 148
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha512.c | 263 +
1 files changed, 263 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-xcbc.c | 234 +++
1 files changed, 234 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ctr.c | 177
1 files changed, 177 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-sha256.c | 244 +
1 files changed, 244 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/vio.h | 46 +++
arch/powerpc/kernel/vio.c | 273 ++--
2 files changed, 280 insertions(+), 39 deletions(-)
diff --git a/arch/powerpc/include/asm/vio.h b/arch
Adds support for the Platform Facilities Option (PFO)-based hardware
random number generator for POWER hardware.
Signed-off-by: Michael Neuling
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
drivers/char/hw_random/Kconfig | 13 +
drivers/char/hw_random/Makefile
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
drivers/crypto/nx/nx-aes-ccm.c | 465
1 files changed, 465 insertions(+), 0 deletions(-)
create mode 100644 drivers/cryp
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
Signed-off-by: Kent Yoder
---
arch/powerpc/kernel/prom_init.c
(Rob 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
>
> 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
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 majord...@vge
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
> > -
These routines add support for AES in CTR mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-ctr.c | 175 +++
1 files changed, 175 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in ECB mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-ecb.c | 133 +++
1 files changed, 133 insertions(+), 0 deletions(-)
create mode 100644 arch/po
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
---
arch/powerpc/kernel/prom_init.c |8 +++-
1 files changed, 7
These files support configuring and building the nx device driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/Makefile |1 +
arch/powerpc/crypto/nx/Makefile | 11 +++
drivers/crypto/Kconfig | 18 ++
3 files changed, 30 insertions(+), 0
These routines add support for SHA-512 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-sha512.c | 259
1 files changed, 259 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add sysfs files supporting the Power7+ in-Nest encryption
accelerator driver.
Signed-off-by: Kent Yoder
---
Documentation/powerpc/pfo-nx-crypto.txt | 52
arch/powerpc/crypto/nx/nx_sysfs.c | 194 +++
2 files changed, 246 insertions
These routines add the base device driver code supporting the Power7+
in-Nest encryption accelerator (nx) device.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx.c| 710
arch/powerpc/crypto/nx/nx.h| 190 ++
arch/powerpc
These routines add support for SHA-256 hashing on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-sha256.c | 240
1 files changed, 240 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in XCBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-xcbc.c | 230 ++
1 files changed, 230 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in GCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-gcm.c | 352 +++
1 files changed, 352 insertions(+), 0 deletions(-)
create mode 100644 arch/po
These routines add support for AES in CCM mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-ccm.c | 466 +++
1 files changed, 466 insertions(+), 0 deletions(-)
create mode 100644 arch/po
From: Robert Jennings
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
Signed-off-by: Kent Yoder
---
arch
These routines add support for AES in CBC mode on the Power7+ CPU's
in-Nest accelerator driver.
Signed-off-by: Kent Yoder
---
arch/powerpc/crypto/nx/nx-aes-cbc.c | 135 +++
1 files changed, 135 insertions(+), 0 deletions(-)
create mode 100644 arch/po
From: Michael Neuling
Adds support for the Platform Facilities Option (PFO)-based hardware
random number generator for POWER hardware.
Signed-off-by: Michael Neuling
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
drivers/char/hw_random/Kconfig | 13 +
drivers/char
es to ofdt properties.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
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/powerpc/includ
synchronous hypervisor calls.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/vio.h | 46 +++
arch/powerpc/kernel/vio.c | 274 ++--
2 files changed, 280 insertions(+), 40 deletions(-)
diff --git a/arch/powerpc
From: Robert Jennings
The Platform Facilities Option (PFO) adds several new h_calls and
more return codes.
Signed-off-by: Robert Jennings
Signed-off-by: Kent Yoder
---
arch/powerpc/include/asm/hvcall.h | 25 +++--
1 files changed, 23 insertions(+), 2 deletions(-)
diff
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
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
---
crypto/sha512_generic.c |2 +-
1 files
79 matches
Mail list logo