Searched refs:MockTpm (Results 1 – 11 of 11) sorted by relevance
28 MockTpm::MockTpm() : Tpm(nullptr) { in MockTpm() function in trunks::MockTpm33 MockTpm::~MockTpm() {} in ~MockTpm()35 void MockTpm::StartAuthSession(const TPMI_DH_OBJECT& tpm_key, in StartAuthSession()51 TPM_RC MockTpm::StartAuthSessionSync( in StartAuthSessionSync()68 TPM_RC MockTpm::CreateSync(const TPMI_DH_OBJECT& parent_handle, in CreateSync()84 TPM_RC MockTpm::CertifyCreationSync( in CertifyCreationSync()100 TPM_RC MockTpm::GetSessionAuditDigestSync( in GetSessionAuditDigestSync()116 TPM_RC MockTpm::CommitSync(const TPMI_DH_OBJECT& sign_handle, in CommitSync()131 void MockTpm::PolicySigned(const TPMI_DH_OBJECT& auth_object, in PolicySigned()146 TPM_RC MockTpm::PolicySignedSync( in PolicySignedSync()[all …]
37 class MockTpm; variable105 std::unique_ptr<MockTpm> default_tpm_;
46 NiceMock<MockTpm> mock_tpm_;
53 NiceMock<MockTpm> mock_tpm_;
74 NiceMock<MockTpm> mock_tpm_;
54 NiceMock<MockTpm> mock_tpm_;
115 NiceMock<MockTpm> mock_tpm_;
29 class MockTpm : public Tpm {31 MockTpm();32 ~MockTpm() override;
536 : default_tpm_(new NiceMock<MockTpm>()), in TrunksFactoryForTest()
227 StrictMock<MockTpm> tpm_;
140 NiceMock<MockTpm> mock_tpm_;