Home
last modified time | relevance | path

Searched refs:PolicySessionImpl (Results 1 – 4 of 4) sorted by relevance

/system/tpm/trunks/
Dpolicy_session_impl.cc33 PolicySessionImpl::PolicySessionImpl(const TrunksFactory& factory) in PolicySessionImpl() function in trunks::PolicySessionImpl
39 PolicySessionImpl::PolicySessionImpl(const TrunksFactory& factory, in PolicySessionImpl() function in trunks::PolicySessionImpl
46 PolicySessionImpl::~PolicySessionImpl() { in ~PolicySessionImpl()
50 AuthorizationDelegate* PolicySessionImpl::GetDelegate() { in GetDelegate()
57 TPM_RC PolicySessionImpl::StartBoundSession( in StartBoundSession()
71 TPM_RC PolicySessionImpl::StartUnboundSession(bool enable_encryption) { in StartUnboundSession()
77 TPM_RC PolicySessionImpl::GetDigest(std::string* digest) { in GetDigest()
93 TPM_RC PolicySessionImpl::PolicyOR(const std::vector<std::string>& digests) { in PolicyOR()
116 TPM_RC PolicySessionImpl::PolicyPCR(uint32_t pcr_index, in PolicyPCR()
152 TPM_RC PolicySessionImpl::PolicyCommandCode(TPM_CC command_code) { in PolicyCommandCode()
[all …]
Dpolicy_session_test.cc47 HmacAuthorizationDelegate* GetHmacDelegate(PolicySessionImpl* session) { in GetHmacDelegate()
58 PolicySessionImpl session(factory_); in TEST_F()
65 PolicySessionImpl session(factory_); in TEST_F()
70 PolicySessionImpl session(factory_); in TEST_F()
76 PolicySessionImpl session(factory_); in TEST_F()
85 PolicySessionImpl session(factory_, TPM_SE_HMAC); in TEST_F()
91 PolicySessionImpl session(factory_); in TEST_F()
96 PolicySessionImpl session(factory_); in TEST_F()
104 PolicySessionImpl session(factory_); in TEST_F()
116 PolicySessionImpl session(factory_); in TEST_F()
[all …]
Dpolicy_session_impl.h43 class TRUNKS_EXPORT PolicySessionImpl: public PolicySession {
45 explicit PolicySessionImpl(const TrunksFactory& factory);
49 PolicySessionImpl(const TrunksFactory& factory, TPM_SE session_type);
50 ~PolicySessionImpl() override;
80 DISALLOW_COPY_AND_ASSIGN(PolicySessionImpl);
Dtrunks_factory_impl.cc88 return scoped_ptr<PolicySession>(new PolicySessionImpl(*this, TPM_SE_POLICY)); in GetPolicySession()
92 return scoped_ptr<PolicySession>(new PolicySessionImpl(*this, TPM_SE_TRIAL)); in GetTrialSession()