Home
last modified time | relevance | path

Searched refs:policySession (Results 1 – 25 of 98) sorted by relevance

1234

/external/tpm2-tss/test/integration/
Desys-policy-nv-changeauth.int.c50 ESYS_TR policySession = ESYS_TR_NONE; in test_esys_policy_nv_changeauth() local
157 &policySession); in test_esys_policy_nv_changeauth()
162 policySession, in test_esys_policy_nv_changeauth()
170 policySession, in test_esys_policy_nv_changeauth()
180 policySession, in test_esys_policy_nv_changeauth()
196 r = Esys_FlushContext(esys_context, policySession); in test_esys_policy_nv_changeauth()
216 &policySession); in test_esys_policy_nv_changeauth()
221 policySession, in test_esys_policy_nv_changeauth()
229 policySession, in test_esys_policy_nv_changeauth()
239 policySession, in test_esys_policy_nv_changeauth()
[all …]
Desys-policy-nv-undefine-special.int.c50 ESYS_TR policySession = ESYS_TR_NONE; in test_esys_policy_nv_undefine_special() local
175 &policySession); in test_esys_policy_nv_undefine_special()
179 policySession, in test_esys_policy_nv_undefine_special()
187 policySession, in test_esys_policy_nv_undefine_special()
198 policySession, in test_esys_policy_nv_undefine_special()
218 r = Esys_FlushContext(esys_context, policySession); in test_esys_policy_nv_undefine_special()
238 if (policySession != ESYS_TR_NONE) { in test_esys_policy_nv_undefine_special()
239 if (Esys_FlushContext(esys_context, policySession) != TSS2_RC_SUCCESS) { in test_esys_policy_nv_undefine_special()
Desys-policy-password.int.c48 ESYS_TR policySession = ESYS_TR_NONE; in test_esys_policy_password() local
193 &policySession); in test_esys_policy_password()
198 policySession, in test_esys_policy_password()
272 policySession, ESYS_TR_NONE, ESYS_TR_NONE, in test_esys_policy_password()
288 r = Esys_FlushContext(esys_context, policySession); in test_esys_policy_password()
307 if (policySession != ESYS_TR_NONE) { in test_esys_policy_password()
308 if (Esys_FlushContext(esys_context, policySession) != TSS2_RC_SUCCESS) { in test_esys_policy_password()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_PolicyPassword.c25 ESYS_TR policySession) in store_input_parameters() argument
27 esysContext->in.Policy.policySession = policySession; in store_input_parameters()
74 ESYS_TR policySession, in Esys_PolicyPassword() argument
81 r = Esys_PolicyPassword_Async(esysContext, policySession, shandle1, shandle2, in Esys_PolicyPassword()
148 ESYS_TR policySession, in Esys_PolicyPassword_Async() argument
155 esysContext, policySession); in Esys_PolicyPassword_Async()
172 store_input_parameters(esysContext, policySession); in Esys_PolicyPassword_Async()
175 r = esys_GetResourceObject(esysContext, policySession, &policySessionNode); in Esys_PolicyPassword_Async()
317 ESYS_TR policySession = esysContext->in.Policy.policySession; in Esys_PolicyPassword_Finish() local
319 r = esys_GetResourceObject(esysContext, policySession, &policySessionNode); in Esys_PolicyPassword_Finish()
DEsys_PolicyAuthValue.c25 ESYS_TR policySession) in store_input_parameters() argument
27 esysContext->in.Policy.policySession = policySession; in store_input_parameters()
74 ESYS_TR policySession, in Esys_PolicyAuthValue() argument
81 r = Esys_PolicyAuthValue_Async(esysContext, policySession, shandle1, in Esys_PolicyAuthValue()
148 ESYS_TR policySession, in Esys_PolicyAuthValue_Async() argument
155 esysContext, policySession); in Esys_PolicyAuthValue_Async()
172 store_input_parameters(esysContext, policySession); in Esys_PolicyAuthValue_Async()
175 r = esys_GetResourceObject(esysContext, policySession, &policySessionNode); in Esys_PolicyAuthValue_Async()
317 ESYS_TR policySession = esysContext->in.Policy.policySession; in Esys_PolicyAuthValue_Finish() local
319 r = esys_GetResourceObject(esysContext, policySession, &policySessionNode); in Esys_PolicyAuthValue_Finish()
DEsys_PolicyPhysicalPresence.c66 ESYS_TR policySession, in Esys_PolicyPhysicalPresence() argument
73 r = Esys_PolicyPhysicalPresence_Async(esysContext, policySession, shandle1, in Esys_PolicyPhysicalPresence()
140 ESYS_TR policySession, in Esys_PolicyPhysicalPresence_Async() argument
147 esysContext, policySession); in Esys_PolicyPhysicalPresence_Async()
166 r = esys_GetResourceObject(esysContext, policySession, &policySessionNode); in Esys_PolicyPhysicalPresence_Async()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_PolicyAuthValue.c17 TPMI_SH_POLICY policySession) in Tss2_Sys_PolicyAuthValue_Prepare() argument
29 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyAuthValue_Prepare()
55 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyAuthValue() argument
62 rval = Tss2_Sys_PolicyAuthValue_Prepare(sysContext, policySession); in Tss2_Sys_PolicyAuthValue()
DTss2_Sys_PolicyPhysicalPresence.c17 TPMI_SH_POLICY policySession) in Tss2_Sys_PolicyPhysicalPresence_Prepare() argument
29 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyPhysicalPresence_Prepare()
55 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyPhysicalPresence() argument
62 rval = Tss2_Sys_PolicyPhysicalPresence_Prepare(sysContext, policySession); in Tss2_Sys_PolicyPhysicalPresence()
DTss2_Sys_PolicyPassword.c17 TPMI_SH_POLICY policySession) in Tss2_Sys_PolicyPassword_Prepare() argument
29 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyPassword_Prepare()
55 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyPassword() argument
62 rval = Tss2_Sys_PolicyPassword_Prepare(sysContext, policySession); in Tss2_Sys_PolicyPassword()
DTss2_Sys_PolicyGetDigest.c17 TPMI_SH_POLICY policySession) in Tss2_Sys_PolicyGetDigest_Prepare() argument
29 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyGetDigest_Prepare()
64 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyGetDigest() argument
72 rval = Tss2_Sys_PolicyGetDigest_Prepare(sysContext, policySession); in Tss2_Sys_PolicyGetDigest()
DTss2_Sys_PolicyLocality.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyLocality_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyLocality_Prepare()
62 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyLocality() argument
70 rval = Tss2_Sys_PolicyLocality_Prepare(sysContext, policySession, locality); in Tss2_Sys_PolicyLocality()
DTss2_Sys_PolicyNvWritten.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyNvWritten_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyNvWritten_Prepare()
62 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyNvWritten() argument
70 rval = Tss2_Sys_PolicyNvWritten_Prepare(sysContext, policySession, writtenSet); in Tss2_Sys_PolicyNvWritten()
DTss2_Sys_PolicyCommandCode.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyCommandCode_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyCommandCode_Prepare()
62 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyCommandCode() argument
70 rval = Tss2_Sys_PolicyCommandCode_Prepare(sysContext, policySession, code); in Tss2_Sys_PolicyCommandCode()
DTss2_Sys_PolicyOR.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyOR_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyOR_Prepare()
62 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyOR() argument
73 rval = Tss2_Sys_PolicyOR_Prepare(sysContext, policySession, pHashList); in Tss2_Sys_PolicyOR()
DTss2_Sys_PolicyNameHash.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyNameHash_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyNameHash_Prepare()
71 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyNameHash() argument
79 rval = Tss2_Sys_PolicyNameHash_Prepare(sysContext, policySession, nameHash); in Tss2_Sys_PolicyNameHash()
DTss2_Sys_PolicyTemplate.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyTemplate_Prepare() argument
30 rval = Tss2_MU_TPM2_HANDLE_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyTemplate_Prepare()
71 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyTemplate() argument
79 rval = Tss2_Sys_PolicyTemplate_Prepare(sysContext, policySession, in Tss2_Sys_PolicyTemplate()
DTss2_Sys_PolicyCpHash.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyCpHash_Prepare() argument
30 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyCpHash_Prepare()
71 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyCpHash() argument
79 rval = Tss2_Sys_PolicyCpHash_Prepare(sysContext, policySession, cpHashA); in Tss2_Sys_PolicyCpHash()
DTss2_Sys_PolicyAuthorizeNV.c19 TPMI_SH_POLICY policySession) in Tss2_Sys_PolicyAuthorizeNV_Prepare() argument
43 rval = Tss2_MU_TPM2_HANDLE_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyAuthorizeNV_Prepare()
71 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyAuthorizeNV() argument
79 nvIndex, policySession); in Tss2_Sys_PolicyAuthorizeNV()
DTss2_Sys_PolicyPCR.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyPCR_Prepare() argument
35 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyPCR_Prepare()
83 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyPCR() argument
95 rval = Tss2_Sys_PolicyPCR_Prepare(sysContext, policySession, pcrDigest, pcrs); in Tss2_Sys_PolicyPCR()
DTss2_Sys_PolicyCounterTimer.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyCounterTimer_Prepare() argument
32 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyCounterTimer_Prepare()
86 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyCounterTimer() argument
96 rval = Tss2_Sys_PolicyCounterTimer_Prepare(sysContext, policySession, in Tss2_Sys_PolicyCounterTimer()
DTss2_Sys_PolicyDuplicationSelect.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyDuplicationSelect_Prepare() argument
32 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyDuplicationSelect_Prepare()
95 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyDuplicationSelect() argument
105 rval = Tss2_Sys_PolicyDuplicationSelect_Prepare(sysContext, policySession, in Tss2_Sys_PolicyDuplicationSelect()
DTss2_Sys_PolicyNV.c19 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyNV_Prepare() argument
46 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyNV_Prepare()
102 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyNV() argument
113 policySession, operandB, offset, in Tss2_Sys_PolicyNV()
DTss2_Sys_PolicyAuthorize.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyAuthorize_Prepare() argument
33 rval = Tss2_MU_UINT32_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_PolicyAuthorize_Prepare()
111 TPMI_SH_POLICY policySession, in Tss2_Sys_PolicyAuthorize() argument
125 rval = Tss2_Sys_PolicyAuthorize_Prepare(sysContext, policySession, in Tss2_Sys_PolicyAuthorize()
DTss2_Sys_Policy_AC_SendSelect.c17 TPMI_SH_POLICY policySession, in Tss2_Sys_Policy_AC_SendSelect_Prepare() argument
33 rval = Tss2_MU_TPM2_HANDLE_Marshal(policySession, ctx->cmdBuffer, in Tss2_Sys_Policy_AC_SendSelect_Prepare()
109 TPMI_SH_POLICY policySession, in Tss2_Sys_Policy_AC_SendSelect() argument
120 rval = Tss2_Sys_Policy_AC_SendSelect_Prepare(sysContext, policySession, in Tss2_Sys_Policy_AC_SendSelect()
/external/tpm2-tss/include/tss2/
Dtss2_sys.h1164 TPMI_SH_POLICY policySession,
1179 TPMI_SH_POLICY policySession,
1193 TPMI_SH_POLICY policySession,
1207 TPMI_SH_POLICY policySession,
1219 TPMI_SH_POLICY policySession,
1231 TPMI_SH_POLICY policySession,
1242 TPMI_SH_POLICY policySession,
1250 TPMI_SH_POLICY policySession,
1257 TPMI_SH_POLICY policySession,
1266 TPMI_SH_POLICY policySession,
[all …]

1234