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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 allocates the memory.
On 2nd reading, p doesn't contain any sensitive information in this function,
and doesn't need to be zero'ed.

Thank you Stephan. Please disregard the patch.


> 
> Ciao
> Stephan



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux