Parent D490
Support for PowerPC's AES acceleration.
This generates the S-Boxes on the fly, and thus
is more resistant to side-channel attacks.
I get an approximentally 2-3X speed-up with vcrypto support.
However, I saw no benifits from additionally using assembly for
the block mode code, so it is disabled for adding unnecessary
complexity and code size.
Before:
ECB/Stream CBC/Poly1305 CFB OFB CTR XTS CCM GCM OCB EAX
--------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ---------------
AES 6340ms 6850ms 4680ms 4930ms 4690ms 4530ms 7010ms 6420ms 4480ms 4500ms 4430ms 4920ms 9170ms 9190ms 8070ms 8660ms 4670ms 5290ms 9220ms 9210ms
After:
ECB/Stream CBC/Poly1305 CFB OFB CTR XTS CCM GCM OCB EAX
--------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ---------------
AES 2490ms 2590ms 2260ms 2230ms 2270ms 2250ms 2520ms 2530ms 2240ms 2280ms 2260ms 2270ms 5040ms 4490ms 5850ms 5870ms 2270ms 2260ms 4490ms 4500ms
Fixes T4529