Thanks, here's a first pass to modernize aes' code. A rough benchmark showed a 5% gain in encrypt and 2% gain in decrypt.