AW: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-29 Thread Markus Stockhausen
> Von: Ard Biesheuvel [ard.biesheu...@linaro.org] > Gesendet: Sonntag, 29. März 2015 12:38 > An: Markus Stockhausen > Cc: linux-arm-ker...@lists.infradead.org; linux-crypto@vger.kernel.org; > samitolva...@google.com; herb...@gondor.apana.org.au; jussi.kivili...@iki.fi > Betreff: Re: [RFC PATCH 1/6

[PATCH] crypto: remove instance when test failed

2015-03-29 Thread Stephan Mueller
A cipher instance is added to the list of instances unconditionally regardless of whether the associated test failed. However, a failed test implies that during another lookup, the cipher instance will be added to the list again as it will not be found by the lookup code. That means that the list

Re: [PATCH] crypto/arm: accelerated SHA-512 using ARM generic ASM and NEON

2015-03-29 Thread Andy Polyakov
> This updates the SHA-512 NEON module with the faster and more > versatile implementation from the OpenSSL project. It consists > of both a NEON and a generic ASM version of the core SHA-512 > transform, where the NEON version reverts to the ASM version > when invoked in non-process context. > >

[PATCH 15/86] crypto/geode: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Michael S. Tsirkin
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, use the new header directly so we can drop the wrapper in include/linux/pci_ids.h. Signed-off-by: Michael S. Tsirkin --- drivers/crypto/geode-aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/geode-

[PATCH 80/86] crypto/ccp: drop linux/pci dependencies

2015-03-29 Thread Michael S. Tsirkin
pci code is in ccp-pci.c, don't include pci headers from ccp/ccp-ops.c. Signed-off-by: Michael S. Tsirkin --- drivers/crypto/ccp/ccp-ops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/crypto/ccp/ccp-ops.c b/drivers/crypto/ccp/ccp-ops.c index fd5491d..3da1140 100644 --- a/drivers/

[PATCH 14/86] crypto/ccp: use uapi/linux/pci_ids.h directly

2015-03-29 Thread Michael S. Tsirkin
Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, use the new header directly so we can drop the wrapper in include/linux/pci_ids.h. Signed-off-by: Michael S. Tsirkin --- drivers/crypto/ccp/ccp-ops.c | 2 +- drivers/crypto/ccp/ccp-pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deleti

Re: [PATCHv2] arm: crypto: Add optimized SHA-256/224

2015-03-29 Thread Andy Polyakov
arch/arm/crypto/sha256-core.S: Assembler messages: arch/arm/crypto/sha256-core.S:1847: Error: invalid constant (efb0) after fixup This is caused by the fact that, when building the integer-only code for an older architecture, the conditional compilation produces a

Re: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-29 Thread Ard Biesheuvel
On 29 March 2015 at 10:29, Markus Stockhausen wrote: >> Von: linux-crypto-ow...@vger.kernel.org >> [linux-crypto-ow...@vger.kernel.org]" im Auftrag von "Ard >> Biesheuvel [ard.biesheu...@linaro.org] >> Gesendet: Samstag, 28. März 2015 23:10 >> An: linux-arm-ker...@lists.infradead.org; linux-cryp

AW: [RFC PATCH 1/6] crypto: sha512: implement base layer for SHA-512

2015-03-29 Thread Markus Stockhausen
> Von: linux-crypto-ow...@vger.kernel.org > [linux-crypto-ow...@vger.kernel.org]" im Auftrag von "Ard > Biesheuvel [ard.biesheu...@linaro.org] > Gesendet: Samstag, 28. März 2015 23:10 > An: linux-arm-ker...@lists.infradead.org; linux-crypto@vger.kernel.org; > samitolva...@google.com; herb...@gon