Re: [PATCH 7/7] Enabling VMX module for PPC64

2015-02-05 Thread Paul Bolle
On Thu, 2015-02-05 at 15:21 -0200, Leonidas S. Barbosa wrote: > This patch enables VMX module in PPC64. > > Signed-off-by: Leonidas S. Barbosa > --- > drivers/crypto/Kconfig | 12 > drivers/crypto/Makefile | 1 + > drivers/crypto/vmx/Kconfig | 9 + > drivers/cryp

[PATCH 6/7] Add support for VMS instructions by ASM

2015-02-05 Thread Leonidas S. Barbosa
OpenSSL implements optimized ASM algorithms which support VMX instructions on Power 8 CPU. These scripts generate an endian-agnostic ASM implementation in order to support both big and little-endian. - aesp8-ppc.pl: implements suport for AES instructions implemented by POWER8 proce

[PATCH 7/7] Enabling VMX module for PPC64

2015-02-05 Thread Leonidas S. Barbosa
This patch enables VMX module in PPC64. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/Kconfig | 12 drivers/crypto/Makefile | 1 + drivers/crypto/vmx/Kconfig | 9 + drivers/crypto/vmx/Makefile | 21 + 4 files changed, 43 insertions(+)

[PATCH 5/7] Adding GHASH routines for VMX module

2015-02-05 Thread Marcelo H. Cerri
This patch adds GHASH routines to VMX module in order to make use of VMX cryptographic acceleration instructions on Power 8 CPU. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/ghash.c | 214 + 1 file changed, 214 insertions(+) create mode 1

[PATCH 4/7] Adding CTR routines for VMX module

2015-02-05 Thread Marcelo H. Cerri
This patch adds AES CTR routines to VMX module in order to make use of VMX cryptographic acceleration instructions on Power 8 CPU. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/aes_ctr.c | 167 +++ 1 file changed, 167 insertions(+) create mode

[PATCH 3/7] Adding CBC routines for VMX module

2015-02-05 Thread Marcelo H. Cerri
This patch adds AES CBC routines to VMX module in order to make use of VMX cryptographic acceleration instructions on Power 8 CPU. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/aes_cbc.c | 184 +++ 1 file changed, 184 insertions(+) create mode

[PATCH 2/7] Adding AES routines for VMX module

2015-02-05 Thread Marcelo H. Cerri
This patch adds AES routines to VMX module in order to make use of VMX cryptographic acceleration instructions on Power 8 CPU. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/aes.c | 139 + drivers/crypto/vmx/aesp8-ppc.h | 20 ++ 2 fil

[PATCH 1/7] Adding VMX module for Power 8

2015-02-05 Thread Marcelo H. Cerri
This patch adds routines supporting VMX instructions on the Power 8. Signed-off-by: Leonidas S. Barbosa --- drivers/crypto/vmx/vmx.c | 88 1 file changed, 88 insertions(+) create mode 100644 drivers/crypto/vmx/vmx.c diff --git a/drivers/crypto/v

[PATCH 0/7] Add VMX module for PPC64

2015-02-05 Thread Leonidas S. Barbosa
VMX cryptographic acceleration instructions were added to the POWER8 CPU. These instructions implement portions of AES and GHASH in hardware. This patch set adds a new module for PPC64, vmx, that support cryptographic routines such as AES and GHASH on hardware. In order to access VMX instruction

Re: [PATCH v12 1/2] crypto: AF_ALG: add AEAD support

2015-02-05 Thread Stephan Mueller
Am Donnerstag, 29. Januar 2015, 21:24:45 schrieb Stephan Mueller: Hi Herbert, > This patch adds the AEAD support for AF_ALG. > > The implementation is based on algif_skcipher, but contains heavy > modifications to streamline the interface for AEAD uses. > > To use AEAD, the user space consumer

[PATCH] crypto: sha-mb: Fix big integer constant sparse warning

2015-02-05 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch fixes following sparse warning: sha1_mb_mgr_init_avx2.c:59:31: warning: constant 0xF76543210 is so big it is long Signed-off-by: Lad, Prabhakar --- arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g