hardware assisted AES functions work