Home
last modified time | relevance | path

Searched refs:policy_session (Results 1 – 6 of 6) sorted by relevance

/system/tpm/trunks/
Dtrunks_client_test.cc320 scoped_ptr<PolicySession> policy_session = factory_->GetPolicySession(); in SealedDataTest() local
321 result = policy_session->StartUnboundSession(false); in SealedDataTest()
326 result = policy_session->PolicyPCR(pcr_index, ""); in SealedDataTest()
333 result = utility->UnsealData(sealed_data, policy_session->GetDelegate(), in SealedDataTest()
348 result = policy_session->PolicyPCR(pcr_index, ""); in SealedDataTest()
354 result = utility->UnsealData(sealed_data, policy_session->GetDelegate(), in SealedDataTest()
452 scoped_ptr<PolicySession> policy_session = factory_->GetPolicySession(); in PolicyAuthValueTest() local
453 result = policy_session->StartUnboundSession(false); in PolicyAuthValueTest()
458 result = policy_session->PolicyAuthValue(); in PolicyAuthValueTest()
465 policy_session->SetEntityAuthorizationValue("password"); in PolicyAuthValueTest()
[all …]
Dmock_tpm.cc142 const TPMI_SH_POLICY& policy_session, in PolicySigned() argument
151 PolicySignedShort(auth_object, policy_session, nonce_tpm, cp_hash_a, in PolicySigned()
158 const TPMI_SH_POLICY& policy_session, in PolicySignedSync() argument
168 return PolicySignedSyncShort(auth_object, policy_session, nonce_tpm, in PolicySignedSync()
175 const TPMI_SH_POLICY& policy_session, in PolicySecretSync() argument
184 return PolicySecretSyncShort(auth_handle, policy_session, nonce_tpm, in PolicySecretSync()
192 const TPMI_SH_POLICY& policy_session, in PolicyNV() argument
199 PolicyNVShort(auth_handle, nv_index, policy_session, operand_b, offset, in PolicyNV()
Dmock_tpm.h848 const TPMI_SH_POLICY& policy_session,
859 const TPMI_SH_POLICY& policy_session,
871 const TPMI_SH_POLICY& policy_session,
883 const TPMI_SH_POLICY& policy_session,
895 const TPMI_SH_POLICY& policy_session,
907 const TPMI_SH_POLICY& policy_session,
918 const TPMI_SH_POLICY& policy_session,
927 void(const TPMI_SH_POLICY& policy_session,
937 TPM_RC(const TPMI_SH_POLICY& policy_session,
946 void(const TPMI_SH_POLICY& policy_session,
[all …]
Dtrunks_factory_for_test.h100 void set_policy_session(PolicySession* policy_session) { in set_policy_session() argument
101 policy_session_ = policy_session; in set_policy_session()
Dtpm_generated.h5262 const TPMI_SH_POLICY& policy_session,
5279 const TPMI_SH_POLICY& policy_session,
5291 const TPMI_SH_POLICY& policy_session,
5308 const TPMI_SH_POLICY& policy_session,
5324 const TPMI_SH_POLICY& policy_session,
5335 const TPMI_SH_POLICY& policy_session,
5347 const TPMI_SH_POLICY& policy_session,
5360 const TPMI_SH_POLICY& policy_session,
5370 const TPMI_SH_POLICY& policy_session,
5381 const TPMI_SH_POLICY& policy_session,
[all …]
Dtpm_generated.cc25431 const TPMI_SH_POLICY& policy_session, in SerializeCommand_PolicySigned() argument
25465 policy_session, in SerializeCommand_PolicySigned()
25749 const TPMI_SH_POLICY& policy_session, in PolicySigned() argument
25769 policy_session, in PolicySigned()
25788 const TPMI_SH_POLICY& policy_session, in PolicySignedSync() argument
25803 policy_session, in PolicySignedSync()
25827 const TPMI_SH_POLICY& policy_session, in SerializeCommand_PolicySecret() argument
25860 policy_session, in SerializeCommand_PolicySecret()
26133 const TPMI_SH_POLICY& policy_session, in PolicySecret() argument
26152 policy_session, in PolicySecret()
[all …]