Re: Power 8 in-core crypto not working as expected

2017-09-12 Thread Segher Boessenkool
On Thu, Sep 07, 2017 at 10:35:18AM -0400, Jeffrey Walton wrote: > We are using the key and subkey schedule from FIPS 197, Appendix A. We > are using it because the key schedule is fully specified. > > We lack the known answers for a single round using a subkey like one > specified in FIPS 197. IBM

Re: Power 8 in-core crypto not working as expected

2017-09-07 Thread Paul.Koning
> On Sep 7, 2017, at 10:35 AM, Jeffrey Walton wrote: > > On Thu, Sep 7, 2017 at 4:38 AM, Segher Boessenkool > wrote: >> Hi! >> >> On Thu, Sep 07, 2017 at 12:37:33AM -0400, Jeffrey Walton wrote: >>> I have implementation for AES on Power 8 using GCC's built-ins. Its >>> available for inspection

Re: Power 8 in-core crypto not working as expected

2017-09-07 Thread Jeffrey Walton
On Thu, Sep 7, 2017 at 4:38 AM, Segher Boessenkool wrote: > Hi! > > On Thu, Sep 07, 2017 at 12:37:33AM -0400, Jeffrey Walton wrote: >> I have implementation for AES on Power 8 using GCC's built-ins. Its >> available for inspection and download at >> https://github.com/noloader/AES-Power8. The prob

Re: Power 8 in-core crypto not working as expected

2017-09-07 Thread Segher Boessenkool
Hi! On Thu, Sep 07, 2017 at 12:37:33AM -0400, Jeffrey Walton wrote: > I have implementation for AES on Power 8 using GCC's built-ins. Its > available for inspection and download at > https://github.com/noloader/AES-Power8. The problem is, it does not > arrive at the correct results on GCC112 (ppc6

Re: Power 8 in-core crypto not working as expected

2017-09-07 Thread R0b0t1
On Thu, Sep 7, 2017 at 1:10 AM, Jeffrey Walton wrote: > On Thu, Sep 7, 2017 at 1:39 AM, R0b0t1 wrote: >> On Wed, Sep 6, 2017 at 11:37 PM, Jeffrey Walton wrote: >>> Hi Everyone, >>> >>> I'm on gcc rather than gcc-help because we need to talk with some GCC >>> devs who can help take this further.

Re: Power 8 in-core crypto not working as expected

2017-09-07 Thread David Edelsohn
On Thu, Sep 7, 2017 at 7:40 AM, R0b0t1 wrote: > Full disclosure: despite my interest in the architecture I have not > been able to get access to a POWER8 machine. A server costs about as > much as a new car. Any account reseller recommendations or any other > options you can think of? If you don'

Re: Power 8 in-core crypto not working as expected

2017-09-06 Thread Jeffrey Walton
On Thu, Sep 7, 2017 at 1:39 AM, R0b0t1 wrote: > On Wed, Sep 6, 2017 at 11:37 PM, Jeffrey Walton wrote: >> Hi Everyone, >> >> I'm on gcc rather than gcc-help because we need to talk with some GCC >> devs who can help take this further. >> >> I have implementation for AES on Power 8 using GCC's bui

Re: Power 8 in-core crypto not working as expected

2017-09-06 Thread R0b0t1
On Wed, Sep 6, 2017 at 11:37 PM, Jeffrey Walton wrote: > Hi Everyone, > > I'm on gcc rather than gcc-help because we need to talk with some GCC > devs who can help take this further. > > I have implementation for AES on Power 8 using GCC's built-ins. Its > available for inspection and download at