I would like to ask if the Regression Test Suite can handle TPM_RETRY errors. I have tried to run it on our HW TPM and when TPM_IncrementCounter returned TPM_RETRY, test suite stopped execution.
In general, it does not, because the SW TPM never returns TPM_RETRY. I have updated counter_increment to retry. I'll send the patch to anyone who wants it and it will be in the next release.