Re: [PATCH 2/2] [v2] crypto: sha1: add ARM NEON implementation

2014-06-30 Thread Ard Biesheuvel
On 29 June 2014 16:33, Jussi Kivilinna jussi.kivili...@iki.fi wrote: This patch adds ARM NEON assembly implementation of SHA-1 algorithm. tcrypt benchmark results on Cortex-A8, sha1-arm-asm vs sha1-neon-asm: block-size bytes/updateold-vs-new 16 16 1.04x 64

Re: [PATCH] [v2] crypto: sha512: add ARM NEON implementation

2014-06-30 Thread Ard Biesheuvel
On 29 June 2014 16:34, Jussi Kivilinna jussi.kivili...@iki.fi wrote: This patch adds ARM NEON assembly implementation of SHA-512 and SHA-384 algorithms. tcrypt benchmark results on Cortex-A8, sha512-generic vs sha512-neon-asm: block-size bytes/updateold-vs-new 16 16

Re: [crypto] BUG: unable to handle kernel paging request at ffff88000bb88000

2014-06-30 Thread Stephan Mueller
Am Montag, 30. Juni 2014, 13:31:26 schrieb Fengguang Wu: Hi Fengguang, Hi Stephan, On Sun, Jun 29, 2014 at 09:45:48PM +0200, Stephan Mueller wrote: Am Sonntag, 29. Juni 2014, 22:52:46 schrieb Fengguang Wu: Hi Fengguang, Greetings, 0day kernel testing robot got the below dmesg and

Re: [PATCH v1 1/3] ima: use ahash API for file hash calculation

2014-06-30 Thread Dmitry Kasatkin
On 26/06/14 14:54, Mimi Zohar wrote: On Thu, 2014-06-19 at 18:20 +0300, Dmitry Kasatkin wrote: Async hash API allows to use HW acceleration for hash calculation. It may give significant performance gain or/and reduce power consumption, which might be very beneficial for battery powered

Re: [PATCH v1 1/3] ima: use ahash API for file hash calculation

2014-06-30 Thread Mimi Zohar
On Mon, 2014-06-30 at 17:58 +0300, Dmitry Kasatkin wrote: On 26/06/14 14:54, Mimi Zohar wrote: On Thu, 2014-06-19 at 18:20 +0300, Dmitry Kasatkin wrote: @@ -156,7 +316,7 @@ out: return rc; } -int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash) +static int

[PATCH 2/2] [v3] crypto: sha1: add ARM NEON implementation

2014-06-30 Thread Jussi Kivilinna
This patch adds ARM NEON assembly implementation of SHA-1 algorithm. tcrypt benchmark results on Cortex-A8, sha1-arm-asm vs sha1-neon-asm: block-size bytes/updateold-vs-new 16 16 1.04x 64 16 1.02x 64 64 1.05x

[PATCH] [v3] crypto: sha512: add ARM NEON implementation

2014-06-30 Thread Jussi Kivilinna
This patch adds ARM NEON assembly implementation of SHA-512 and SHA-384 algorithms. tcrypt benchmark results on Cortex-A8, sha512-generic vs sha512-neon-asm: block-size bytes/updateold-vs-new 16 16 2.99x 64 16 2.67x 64 64

[PATCH 1/2] [v3] crypto: sha1/ARM: make use of common SHA-1 structures

2014-06-30 Thread Jussi Kivilinna
Common SHA-1 structures are defined in crypto/sha.h for code sharing. This patch changes SHA-1/ARM glue code to use these structures. Acked-by: Ard Biesheuvel ard.biesheu...@linaro.org Signed-off-by: Jussi Kivilinna jussi.kivili...@iki.fi --- arch/arm/crypto/sha1_glue.c | 50

Re: [PATCH 1/2] [v2] crypto: sha1/ARM: make use of common SHA-1 structures

2014-06-30 Thread Ard Biesheuvel
On 29 June 2014 16:33, Jussi Kivilinna jussi.kivili...@iki.fi wrote: Common SHA-1 structures are defined in crypto/sha.h for code sharing. This patch changes SHA-1/ARM glue code to use these structures. Acked-by: Ard Biesheuvel ard.biesheu...@linaro.org Signed-off-by: Jussi Kivilinna

Re: [PATCH] [v3] crypto: sha512: add ARM NEON implementation

2014-06-30 Thread Ard Biesheuvel
On 30 June 2014 18:39, Jussi Kivilinna jussi.kivili...@iki.fi wrote: This patch adds ARM NEON assembly implementation of SHA-512 and SHA-384 algorithms. tcrypt benchmark results on Cortex-A8, sha512-generic vs sha512-neon-asm: block-size bytes/updateold-vs-new 16 16

Re: [PATCH] [v3] crypto: sha512: add ARM NEON implementation

2014-06-30 Thread Jussi Kivilinna
On 30.06.2014 21:13, Ard Biesheuvel wrote: On 30 June 2014 18:39, Jussi Kivilinna jussi.kivili...@iki.fi wrote: This patch adds ARM NEON assembly implementation of SHA-512 and SHA-384 algorithms. tcrypt benchmark results on Cortex-A8, sha512-generic vs sha512-neon-asm: block-size