[PATCH v5 6/7] tpm: ensure that the output of PCR read contains the correct digest size