Home
last modified time | relevance | path

Searched refs:current_policy (Results 1 – 5 of 5) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_execute.c189 IFAPI_POLICY_EXEC_CTX *current_policy) in execute_policy_pcr() argument
197 switch (current_policy->state) { in execute_policy_pcr()
198 statecase(current_policy->state, POLICY_EXECUTE_INIT) in execute_policy_pcr()
208 current_policy->session, in execute_policy_pcr()
214 statecase(current_policy->state, POLICY_EXECUTE_FINISH) in execute_policy_pcr()
219 current_policy->state = POLICY_EXECUTE_INIT; in execute_policy_pcr()
222 statecasedefault(current_policy->state); in execute_policy_pcr()
249 IFAPI_POLICY_EXEC_CTX *current_policy) in execute_policy_duplicate() argument
255 switch (current_policy->state) { in execute_policy_duplicate()
256 statecase(current_policy->state, POLICY_EXECUTE_INIT) in execute_policy_duplicate()
[all …]
Difapi_policy_callbacks.c437 IFAPI_POLICY_EXEC_CTX *current_policy; in ifapi_policyeval_cbauth() local
447 current_policy = fapi_ctx->policy.util_current_policy->pol_exec_ctx; in ifapi_policyeval_cbauth()
450 current_policy = fapi_ctx->policy.policyutil_stack->pol_exec_ctx; in ifapi_policyeval_cbauth()
452 cb_ctx = current_policy->app_data; in ifapi_policyeval_cbauth()
537 if (current_policy->policySessionSav != ESYS_TR_NONE) in ifapi_policyeval_cbauth()
538 fapi_ctx->policy.session = current_policy->policySessionSav; in ifapi_policyeval_cbauth()
542 if (current_policy->policySessionSav in ifapi_policyeval_cbauth()
543 && current_policy->policySessionSav != ESYS_TR_NONE) in ifapi_policyeval_cbauth()
544 fapi_ctx->policy.session = current_policy->policySessionSav; in ifapi_policyeval_cbauth()
1038 IFAPI_POLICY_EXEC_CTX *current_policy; in ifapi_exec_auth_policy() local
[all …]
Difapi_policyutil_execute.c39 IFAPI_POLICYUTIL_STACK **current_policy) in new_policy() argument
45 *current_policy = calloc(sizeof(IFAPI_POLICYUTIL_STACK), 1); in new_policy()
46 if (!*current_policy) { in new_policy()
54 (*current_policy)->pol_exec_ctx = pol_exec_ctx; in new_policy()
77 context->policy.policyutil_stack = *current_policy; in new_policy()
78 context->policy.util_current_policy = *current_policy; in new_policy()
80 context->policy.util_current_policy->next = *current_policy; in new_policy()
81 (*current_policy)->prev = context->policy.util_current_policy; in new_policy()
213 IFAPI_POLICYUTIL_STACK *current_policy; in ifapi_policyutil_execute_prepare() local
217 r = new_policy(context, policy, &current_policy); in ifapi_policyutil_execute_prepare()
[all …]
Difapi_policy_execute.h168 IFAPI_POLICY_EXEC_CTX *current_policy);
/external/tpm2-tss/doc/
Ddoxygen.dox1932 IFAPI_POLICY_EXEC_CTX *current_policy)
1936 IFAPI_POLICY_EXEC_CTX *current_policy)
1941 IFAPI_POLICY_EXEC_CTX *current_policy)
1946 IFAPI_POLICY_EXEC_CTX *current_policy)
1950 IFAPI_POLICY_EXEC_CTX *current_policy)
1954 IFAPI_POLICY_EXEC_CTX *current_policy)
1958 IFAPI_POLICY_EXEC_CTX *current_policy)
1962 IFAPI_POLICY_EXEC_CTX *current_policy)
1967 IFAPI_POLICY_EXEC_CTX *current_policy)
1971 IFAPI_POLICY_EXEC_CTX *current_policy)
[all …]