Re: [PATCH v3 net-next 0/3] Add support for async socket operations

2015-03-23 Thread Tadeusz Struk
On 03/23/2015 01:42 PM, David Miller wrote: > From: Tadeusz Struk > Date: Thu, 19 Mar 2015 12:31:19 -0700 > >> After the iocb parameter has been removed from sendmsg() and recvmsg() ops >> the socket layer, and the network stack no longer support async operations. >> This patch set adds support f

Re: [PATCH v3 net-next 0/3] Add support for async socket operations

2015-03-23 Thread David Miller
From: Tadeusz Struk Date: Thu, 19 Mar 2015 12:31:19 -0700 > After the iocb parameter has been removed from sendmsg() and recvmsg() ops > the socket layer, and the network stack no longer support async operations. > This patch set adds support for asynchronous operations on sockets back. > > Chan

[PATCH] crypto/arm: fix big-endian bug in ghash

2015-03-23 Thread Ard Biesheuvel
This fixes a bug in the new v8 Crypto Extensions GHASH code that only manifests itself in big-endian mode. Signed-off-by: Ard Biesheuvel --- arch/arm/crypto/ghash-ce-core.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/crypto/ghash-ce-core.S b/arch/arm/crypto/ghash

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

2015-03-23 Thread Ard Biesheuvel
(resending due to size bounce) On 23 March 2015 at 14:50, Sami Tolvanen wrote: > Add Andy Polyakov's optimized assembly and NEON implementations for > SHA-256/224. > > The sha256-armv4.pl script for generating the assembly code is from > OpenSSL commit 2ecd32a1f8f0643ae7b38f59bbaf9f0d6ef326fe. >

Re: [patch 2/2 v2] crypto: img-hash - shift wrapping bug in img_hash_hw_init()

2015-03-23 Thread Herbert Xu
On Mon, Mar 23, 2015 at 02:03:55PM +0300, Dan Carpenter wrote: > "hdev->req->nbytes" is an unsigned int so we so we lose the upper 3 bits > to the shift wrap bug. > > Signed-off-by: Dan Carpenter Both patches applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key

Re: [PATCH] crypto: img-hash: Fix Kconfig selections

2015-03-23 Thread Herbert Xu
On Thu, Mar 19, 2015 at 04:46:24PM +, James Hartley wrote: > The Kconfig entry for CRYPTO_DEV_IMGTEC_HASH incorrectly selects > CRYPTO_SHA224, which does not exist (and is covered by CRYPTO_SHA256 > which covers both 224 and 256). Remove it. > > Also correct typo CRYPTO_ALG_API to be CRYPTO_AL

[patch 2/2 v2] crypto: img-hash - shift wrapping bug in img_hash_hw_init()

2015-03-23 Thread Dan Carpenter
"hdev->req->nbytes" is an unsigned int so we so we lose the upper 3 bits to the shift wrap bug. Signed-off-by: Dan Carpenter --- v2: typo in changelog diff --git a/drivers/crypto/img-hash.c b/drivers/crypto/img-hash.c index 601ab35..ad47d0d 100644 --- a/drivers/crypto/img-hash.c +++ b/drivers/cr