Re: [PATCH] arm: crypto: Add NEON optimized SHA-256

2015-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:48 Mon 16 Mar , Sami Tolvanen wrote:
> Add Andy Polyakov's NEON optimized SHA-256 implementation.
> 
> On Nexus 6, this implementation is ~2x faster than sha256-generic.

do you plan to add the sha512 from openssl too?

Whould be nice so armv4 can get faster implementatio too

Best Regards,
J.
--
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.html


Re: [PATCH net-next] crypto: algif - fix warn: unsigned 'used' is never less than zero

2015-03-25 Thread David Miller
From: Tadeusz Struk 
Date: Wed, 25 Mar 2015 07:29:19 -0700

> Change type from unsigned long to int to fix an issue reported by kbuild 
> robot:
> crypto/algif_skcipher.c:596 skcipher_recvmsg_async() warn: unsigned 'used' is
> never less than zero.
> 
> Signed-off-by: Tadeusz Struk 

Applied.
--
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.html


[PATCH net-next] crypto: algif - fix warn: unsigned 'used' is never less than zero

2015-03-25 Thread Tadeusz Struk
Change type from unsigned long to int to fix an issue reported by kbuild robot:
crypto/algif_skcipher.c:596 skcipher_recvmsg_async() warn: unsigned 'used' is
never less than zero.

Signed-off-by: Tadeusz Struk 
---
 crypto/algif_skcipher.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/algif_skcipher.c b/crypto/algif_skcipher.c
index 8276f21..60496d4 100644
--- a/crypto/algif_skcipher.c
+++ b/crypto/algif_skcipher.c
@@ -537,7 +537,7 @@ static int skcipher_recvmsg_async(struct socket *sock, 
struct msghdr *msg,
 
while (iov_iter_count(&msg->msg_iter)) {
struct skcipher_async_rsgl *rsgl;
-   unsigned long used;
+   int used;
 
if (!ctx->used) {
err = skcipher_wait_for_data(sk, flags);

--
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.html