Lines Matching defs:trial_session
400 std::unique_ptr<PolicySession> trial_session = factory_.GetTrialSession();
402 result = trial_session->StartUnboundSession(true);
407 result = trial_session->PolicyAuthValue();
414 result = trial_session->GetDigest(&policy_digest);
420 trial_session.reset();
509 std::unique_ptr<PolicySession> trial_session = factory_.GetTrialSession();
511 result = trial_session->StartUnboundSession(true);
516 result = trial_session->PolicyCommandCode(TPM_CC_Sign);
533 result = trial_session->PolicyPCR(pcr_index, next_pcr_value);
539 result = trial_session->GetDigest(&policy_digest);
545 trial_session.reset();
673 std::unique_ptr<PolicySession> trial_session = factory_.GetTrialSession();
678 result = trial_session->StartUnboundSession(true);
683 result = trial_session->PolicyCommandCode(TPM_CC_Sign);
689 result = trial_session->GetDigest(&sign_digest);
694 result = trial_session->StartUnboundSession(true);
699 result = trial_session->PolicyCommandCode(TPM_CC_RSA_Decrypt);
705 result = trial_session->GetDigest(&decrypt_digest);
713 result = trial_session->PolicyOR(digests);
719 result = trial_session->GetDigest(&policy_digest);
725 trial_session.reset();