Re: [PATCH] crypto: ecc : Wipe memory for p on errors.

2017-04-23 Thread Loganaden Velvindron
On Sun, Apr 23, 2017 at 09:14:18PM +0200, Stephan Müller wrote: > Am Samstag, 22. April 2017, 13:31:34 CEST schrieb Loganaden Velvindron: > > Hi Loganaden, > > > - kfree(p); > > + kzfree(p); > > Why do you think this is necessary? p is not filled in this function as this > function only all

Re: [PATCH] crypto: ecc : Wipe memory for p on errors.

2017-04-23 Thread Stephan Müller
Am Samstag, 22. April 2017, 13:31:34 CEST schrieb Loganaden Velvindron: Hi Loganaden, > - kfree(p); > + kzfree(p); Why do you think this is necessary? p is not filled in this function as this function only allocates the memory. Ciao Stephan