Re: [PATCH 1/1] crypto:drbg- Fixes panic in wait_for_completion call.

2017-06-22 Thread Herbert Xu
On Mon, Jun 12, 2017 at 12:00:49PM +0530, Harsh Jain wrote: > Hi Herbert, > > Since It's a panic BUG. Can we push this fix to stable kernel releases? I have added it to crypto with a stable CC. Thanks, -- Email: Herbert Xu Home Page:

Re: [PATCH 1/1] crypto:drbg- Fixes panic in wait_for_completion call.

2017-06-12 Thread Harsh Jain
Hi Herbert, Since It's a panic BUG. Can we push this fix to stable kernel releases? Regards Harsh Jain On Sat, Jun 10, 2017 at 9:47 AM, Herbert Xu wrote: > On Fri, May 26, 2017 at 12:12:51PM +0200, Stephan Müller wrote: >> Am Donnerstag, 25. Mai 2017, 17:23:47

Re: [PATCH 1/1] crypto:drbg- Fixes panic in wait_for_completion call.

2017-06-09 Thread Herbert Xu
On Fri, May 26, 2017 at 12:12:51PM +0200, Stephan Müller wrote: > Am Donnerstag, 25. Mai 2017, 17:23:47 CEST schrieb Harsh Jain: > > Hi Harsh, > > > Initialise ctr_completion variable before use. > > Thank you very much for catching this. > > But I think the chosen function is wrong. When we

Re: [PATCH 1/1] crypto:drbg- Fixes panic in wait_for_completion call.

2017-05-26 Thread Harsh Jain
On Fri, May 26, 2017 at 3:42 PM, Stephan Müller wrote: > Am Donnerstag, 25. Mai 2017, 17:23:47 CEST schrieb Harsh Jain: > > Hi Harsh, > >> Initialise ctr_completion variable before use. > > Thank you very much for catching this. > > But I think the chosen function is wrong.

Re: [PATCH 1/1] crypto:drbg- Fixes panic in wait_for_completion call.

2017-05-26 Thread Stephan Müller
Am Donnerstag, 25. Mai 2017, 17:23:47 CEST schrieb Harsh Jain: Hi Harsh, > Initialise ctr_completion variable before use. Thank you very much for catching this. But I think the chosen function is wrong. When we have an HMAC or Hash DRBG, this completion function does not need to be

[PATCH 1/1] crypto:drbg- Fixes panic in wait_for_completion call.

2017-05-25 Thread Harsh Jain
Initialise ctr_completion variable before use. Signed-off-by: Harsh Jain --- crypto/drbg.c |1 + 1 file changed, 1 insertion(+) diff --git a/crypto/drbg.c b/crypto/drbg.c index fa749f4..f1db29d 100644 --- a/crypto/drbg.c +++ b/crypto/drbg.c @@ -1840,6 +1840,7 @@