Re: cryptsetup stopped working

2012-04-12 Thread Dale Amon
Never mind. I typed 'yes' instead of 'YES' and the error message I was getting was utterly misleading. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htm

cryptsetup stopped working

2012-04-12 Thread Dale Amon
Here is a trace of shell script I am working on. I got through the cryptsetup earlier this evening but for some reason it just stopped working. Just in case, I've rebooted to see if anything needed tidied up. Nope. I also tried using loop1 instead. Also no difference. When the cfdisk ran, I ga

[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 --- drivers/crypto/nx/nx-sha256.c | 244 + 1 files changed, 244 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 Signed-off-by: Kent Yoder --- arch/powerpc/include/asm/hvcall.h | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/incl

[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 --- drivers/crypto/nx/nx-aes-ctr.c | 177 1 files changed, 177 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 --- arch/powerpc/kernel/prom_init.c |3 ++- 1 files changed, 2 insertions

[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 --- arch/powerpc/Makefile |1 + drivers/crypto/Kconfig | 17 + drivers/crypto/nx/Makefile | 11 +++ 3 files changed, 29 insertions(+), 0 deletions(-) create mode

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

2012-04-12 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 --- drivers/crypto/nx/nx-aes-xcbc.c | 234 +++ 1 files changed, 234 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/

[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 --- Documentation/ABI/testing/debugfs-pfo-nx-crypto | 45 ++ drivers/crypto/nx/nx_debugfs.c | 103 +++ 2 files changed, 148 ins

[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 --- drivers/crypto/nx/nx-sha512.c | 263 + 1 files changed, 263 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 --- drivers/crypto/nx/nx-aes-gcm.c | 353 1 files changed, 353 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 --- drivers/crypto/nx/nx-aes-ecb.c | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 --- drivers/crypto/nx/nx-aes-ccm.c | 465 1 files changed, 465 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 --- drivers/crypto/nx/nx-aes-cbc.c | 140 1 files changed, 140 insertions(+), 0 deletions(-) create mode 100644 drivers/crypto/nx/n

[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 --- drivers/crypto/nx/nx.c| 711 + drivers/crypto/nx/nx.h| 192 +++ drivers/crypto/nx/nx_c

[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 Signed-off-by: Kent Yoder --- arch/powerpc/kernel/prom_init.c |

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

2012-04-12 Thread Kent Yoder
This adds an update notifier mechanism for changes to properties in the device tree. One use of this would be a device driver that needs to act on changes to it's properties in the device tree after a live migration or a dynamic activation that is triggered by updates to ofdt properties. Signed-o

[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 Signed-off-by: Robert Jennings Signed-off-by: Kent Yoder --- drivers/char/hw_random/Kconfig | 13 + drivers/char/hw_random/Makefile |

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

2012-04-12 Thread Kent Yoder
Add support for the Platform Facilities Option (PFO) to the VIO bus. These devices have a separate root node in OpenFirmware which requires additional parsing to map into the existing VIO device structure fields. This adds the interface for PFO device drivers to make synchronous hypervisor calls.

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

2012-04-12 Thread Kent Yoder
This patch series adds support for a new device type, the Platform Facilities Option (PFO). PFO resources are a set of accelerators that share some system resources managed by the VIO bus. This patchset includes the basic support for the devices in the VIO bus code along with drivers for the rand

[ANN] Linux Security Summit 2012 - Announcement and CFP

2012-04-12 Thread James Morris
== ANNOUNCEMENT AND CALL FOR PARTICIPATION LINUX SECURITY SUMMIT 2012 SAN DIEGO, CA, USA ==