PolicyOR() private method

private PolicyOR ( TpmHandle policySession, Tpm2bDigest pHashList ) : void
policySession TpmHandle
pHashList Tpm2bDigest
return void
Esempio n. 1
0
 internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
 {
     Tpm2bDigest[] branchList = GetPolicyHashArray(policy.PolicyHash.HashAlg);
     tpm.PolicyOR(sess, branchList);
     return(tpm._GetLastResponseCode());
 }
Esempio n. 2
0
 // ReSharper disable once InconsistentNaming
 internal override TpmRc Execute(Tpm2 tpm, AuthSession authSession, PolicyTree policy)
 {
     Tpm2bDigest[] branchList = GetPolicyHashArray(policy.PolicyHash.HashAlg);
     tpm.PolicyOR(authSession, branchList);
     return tpm._GetLastResponseCode();
 }