PolicyPCR() private method

private PolicyPCR ( TpmHandle policySession, byte pcrDigest, PcrSelection pcrs ) : void
policySession TpmHandle
pcrDigest byte
pcrs PcrSelection
return void
Beispiel #1
0
 internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
 {
     tpm.PolicyPCR(sess, Pcrs.GetSelectionHash(policy.PolicyHash),
                   Pcrs.GetPcrSelectionArray());
     return(tpm._GetLastResponseCode());
 }
Beispiel #2
0
 // ReSharper disable once InconsistentNaming
 internal override TpmRc Execute(Tpm2 tpm, AuthSession policySession, PolicyTree policy)
 {
     tpm.PolicyPCR(policySession, Pcrs.GetSelectionHash(policy.PolicyHash.HashAlg), Pcrs.GetPcrSelectionArray());
     return tpm._GetLastResponseCode();
 }