To get the policy digest for Esys_VerifySignature(), it's not necessary to recalculate the digest with pcr_policy_make(). This commit reorganizes the TPM command sequence to fetch the policy digest right after PolicyPCR, so that we can remove pcr_policy_make() to simplify the whole unsealing process.
To get the policy digest for Esys_VerifySignature(), it's not necessary to recalculate the digest with pcr_policy_make(). This commit reorganizes the TPM command sequence to fetch the policy digest right after PolicyPCR, so that we can remove pcr_policy_make() to simplify the whole unsealing process.