Constant time AES from Bitcoin-core.