add error counter for tpm2net