Re: [PATCH 0/8] Implement Curve448 ECDH and Ed448

2019-04-26 Thread Daiki Ueno
Hello Niels, Daiki Ueno writes: > ni...@lysator.liu.se (Niels Möller) writes: > >> I think there are three main pieces left to integrate. >> >> 1. Curve operations to support Curve448 (i.e., diffie-hellman >>operations). I have made some progress, on my curve448 branch, >> >> 2. SHAKE

Re: Intel CET protection

2019-04-26 Thread Niels Möller
Simo Sorce writes: > I understand this is not a high bar, and I will fold the segment note > in if you think that is what we should do, but I wanted to make you > aware of why I did not do the same as what we do with the stack note. I think we should aim to make all files "cet-compliant" if we

Re: Intel CET protection

2019-04-26 Thread Simo Sorce
Ok attached find new patches, they address all concerns except for adding the CET_SECTION macro automagically to all asm files. I also added a patch to deal with the missing epilogues. Simo. -- Simo Sorce Sr. Principal Software Engineer Red Hat, Inc From

Re: Intel CET protection

2019-04-26 Thread Simo Sorce
On Fri, 2019-04-26 at 10:45 +0200, Niels Möller wrote: > Simo Sorce writes: > > > the attached patches have been used to successfully enable and test > > Intel CET support in an Intel emulator on SDV hardware. > > Thanks. > > > GCC already has all the needed support to create CET hardened

Re: Intel CET protection

2019-04-26 Thread Niels Möller
Simo Sorce writes: > the attached patches have been used to successfully enable and test > Intel CET support in an Intel emulator on SDV hardware. Thanks. > GCC already has all the needed support to create CET hardened code, > however the hand-coded assembly needs to be changed to conform. >