Re: [PATCH v2 1/6] SP800-90A Deterministic Random Bit Generator

2014-03-19 Thread Stephan Mueller
Am Montag, 17. März 2014, 08:34:06 schrieb Stephan Mueller: > +static int drbg_seed(struct drbg_state *drbg, struct drbg_string *pers, > + bool reseed) > +{ > + int ret = 0; > + unsigned char *entropy = NULL; > + size_t entropylen = 0; > + struct drbg_string data1;

Re: [PATCH cryptodev 1/4] crypto: caam - remove error propagation handling

2014-03-19 Thread Horia Geantă
On 3/17/2014 8:23 PM, Marek Vasut wrote: On Friday, March 14, 2014 at 04:46:49 PM, Horia Geanta wrote: Commit 61bb86bba169507a5f223b94b9176c32c84b4721 ("crypto: caam - set descriptor sharing type to SERIAL") changed the descriptor sharing mode from SHARE_WAIT to SHARE_SERIAL. All descriptor com

[PATCH] crypto: caam - fix caamrng compilation warning

2014-03-19 Thread Yashpal Dutta
caam_init_rng was erroneously passed pointer address instead of rng context pointer. This results in Linux compilation warnings Signed-off-by: Yashpal Dutta --- drivers/crypto/caam/caamrng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/caam/caamrng.c b/drive

[PATCH] crypto: caam - power management support for caam job-ring

2014-03-19 Thread Yashpal Dutta
Job ring is suspended gracefully and resume afresh. Pending Jobs not yet processed by CAAM are marked with error for producer Signed-off-by: Yashpal Dutta --- drivers/crypto/caam/intern.h | 2 + drivers/crypto/caam/jr.c | 253 --- 2 files changed, 18

Re: [PATCH cryptodev 3/4] crypto: testmgr - add aead null encryption test vectors

2014-03-19 Thread Horia Geantă
On 3/17/2014 8:27 PM, Marek Vasut wrote: On Friday, March 14, 2014 at 04:46:51 PM, Horia Geanta wrote: Add test vectors for aead with null encryption and md5, respectively sha1 authentication. Input data is taken from test vectors listed in RFC2410. Signed-off-by: Horia Geanta [...] --- a/

[PATCH v2] crypto: caam - power management support for caam job-ring

2014-03-19 Thread Yashpal Dutta
Job ring is suspended gracefully and resume afresh. Pending Jobs not yet processed by CAAM are marked with error for producer Signed-off-by: Yashpal Dutta --- drivers/crypto/caam/intern.h | 2 + drivers/crypto/caam/jr.c | 254 --- 2 files changed, 19

Re: [PATCH cryptodev 1/4] crypto: caam - remove error propagation handling

2014-03-19 Thread Marek Vasut
On Wednesday, March 19, 2014 at 06:25:48 PM, Horia Geantă wrote: > On 3/17/2014 8:23 PM, Marek Vasut wrote: > > On Friday, March 14, 2014 at 04:46:49 PM, Horia Geanta wrote: > >> Commit 61bb86bba169507a5f223b94b9176c32c84b4721 > >> ("crypto: caam - set descriptor sharing type to SERIAL") > >> chang

Re: [PATCH 1/1] SHA1 transform: x86_64 AVX2 optimization -v3

2014-03-19 Thread Marek Vasut
On Wednesday, March 19, 2014 at 01:46:42 AM, chandramouli narayanan wrote: > Sorry, there seems to be a problem with the patch. Let me retest from > the list again and repost. Before you do that, please ... 1) Please do not top-post in replies 2) Fix the changelog (see below) > On Tue, 2014-03-18

[PATCH v4 1/1] crypto: SHA1 transform x86_64 AVX2

2014-03-19 Thread chandramouli narayanan
>From 8948c828aa929a3e2531ca88e3f05fbeb1ff53db Mon Sep 17 00:00:00 2001 From: Chandramouli Narayanan Date: Wed, 19 Mar 2014 09:30:12 -0700 Subject: [PATCH v4 1/1] crypto: SHA1 transform x86_64 AVX2 This git patch adds x86_64 AVX2 optimization of SHA1 transform to crypto support. The patch has bee

Re: [PATCH v4 1/1] crypto: SHA1 transform x86_64 AVX2

2014-03-19 Thread H. Peter Anvin
Herbert, do you want to take this or should I? In the former case, please feel free to add my: Acked-by: H. Peter Anvin -hpa On 03/19/2014 02:21 PM, chandramouli narayanan wrote: > From 8948c828aa929a3e2531ca88e3f05fbeb1ff53db Mon Sep 17 00:00:00 2001 > From: Chandramouli Narayanan >

Re: [PATCH v4 1/1] crypto: SHA1 transform x86_64 AVX2

2014-03-19 Thread Marek Vasut
On Wednesday, March 19, 2014 at 10:21:45 PM, chandramouli narayanan wrote: > From 8948c828aa929a3e2531ca88e3f05fbeb1ff53db Mon Sep 17 00:00:00 2001 > From: Chandramouli Narayanan > Date: Wed, 19 Mar 2014 09:30:12 -0700 > Subject: [PATCH v4 1/1] crypto: SHA1 transform x86_64 AVX2 I guess this head

Re: [PATCH 0/9 v7] crypto:s5p-sss: Add DT and Exynos support

2014-03-19 Thread Naveen Krishna Ch
Hello Everyone, On 25 February 2014 15:16, Herbert Xu wrote: > On Mon, Feb 17, 2014 at 03:14:26PM +0530, Naveen Krishna Chatradhi wrote: >> SSS module on Exynos4210, Exynos5250 and Exynos5420 SoCs has added >> features to the one on S5PV210. However with minor changes the s5p-sss.c >> driver can