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 fun

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

2017-04-22 Thread Loganaden Velvindron
Signed-off-by: Loganaden Velvindron --- crypto/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ecc.c b/crypto/ecc.c index 414c78a..32f50c34 100644 --- a/crypto/ecc.c +++ b/crypto/ecc.c @@ -88,7 +88,7 @@ static struct ecc_point *ecc_alloc_point(unsigned int