> On Tuesday, September 12, 2017 at 6:22:47 AM UTC-4, Jeffrey Walton wrote:
>>
>>
>> We cut-in AES encryption for Power8 and its in-core crypto. Also see 
>>> commit https://github.com/weidai11/cryptopp/commit/7fb34e9b0894.
>>>
>>> AES decryption is still outstanding. Crypto++ uses "Equivalent Inverse 
>>> Cipher" (FIPS-197, Section 5.3.5, p.23), and it is not compatible with IBM 
>>> hardware. We need to rework the key schedule algorithm before we can move 
>>> forward.
>>>
>>
>> The Power8 AES decryption was added at 
>> https://github.com/weidai11/cryptopp/commit/b090e5f69fe7.
>>
>> The final task will be the 4 or 8 blocks at a time.
>>
>
> The final cut-in added AdvancedProcessBlocks, which provides 4 blocks at a 
> time for encryption and decryption. Also see 
> https://github.com/weidai11/cryptopp/commit/6899d3f8bb06.
>
> We are running around 1.6 cpb. For comparison, Botan is running near 1 cpb 
> and OpenSSL is running around 0.7 cpb.
>

We switch to 6x blocks at a time:

  * https://github.com/weidai11/cryptopp/commit/58890ff05396

And then we refactored to cleanup LoadT() and StoreT(); and added a 
ReverseT():

  * https://github.com/weidai11/cryptopp/commit/2c18fe8af8b4e7

We are now running around 0.8 cpb for AES-128/ECB.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to