Re: [PATCH] Crypto EC - avoids possible memset compiler optimisation

2018-01-12 Thread Christopher Schultz
All, Apologies... I had only read the top of the patch before replying. All my comments had already been addressed in the actual patch. Sorry for the noise. -chris On 1/12/18 6:00 PM, Christopher Schultz wrote: > Adam and David, > > On 1/8/18 11:30 AM, Adam Petcher wrote: >> On 1/8/2018 10:13

Re: [PATCH] Crypto EC - avoids possible memset compiler optimisation

2018-01-12 Thread Christopher Schultz
Adam and David, On 1/8/18 11:30 AM, Adam Petcher wrote: > On 1/8/2018 10:13 AM, David CARLIER wrote: > >> Hi, >> >> Here a little patch proposal which is usually relevant in >> cryptographics matters. Usually memset/bzero/... is used to clear >> private structures but the compiler can possibly op

Re: [PATCH] Crypto EC - avoids possible memset compiler optimisation

2018-01-08 Thread Adam Petcher
On 1/8/2018 10:13 AM, David CARLIER wrote: Hi, Here a little patch proposal which is usually relevant in cryptographics matters. Usually memset/bzero/... is used to clear private structures but the compiler can possibly optimize those calls but with this change we can unsure sensitive data i

[PATCH] Crypto EC - avoids possible memset compiler optimisation

2018-01-08 Thread David CARLIER
Hi, Here a little patch proposal which is usually relevant in cryptographics matters. Usually memset/bzero/... is used to clear private structures but the compiler can possibly optimize those calls but with this change we can unsure sensitive data is properly zero'ed using if possible native calls