Compensation for AES padding