Home
last modified time | relevance | path

Searched refs:authHandleNode (Results 1 – 23 of 23) sorted by relevance

/external/tpm2-tss/src/tss2-esys/api/
DEsys_HierarchyChangeAuth.c165 RSRC_NODE_T *authHandleNode; in Esys_HierarchyChangeAuth_Async() local
183 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_HierarchyChangeAuth_Async()
188 (authHandleNode == NULL) in Esys_HierarchyChangeAuth_Async()
190 : authHandleNode->rsrc.handle, in Esys_HierarchyChangeAuth_Async()
197 if (authHandleNode != NULL) in Esys_HierarchyChangeAuth_Async()
199 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_HierarchyChangeAuth_Async()
207 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_HierarchyChangeAuth_Async()
259 RSRC_NODE_T *authHandleNode; in Esys_HierarchyChangeAuth_Finish() local
322 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_HierarchyChangeAuth_Finish()
326 authHandleNode->auth.size = 0; in Esys_HierarchyChangeAuth_Finish()
[all …]
DEsys_ChangePPS.c149 RSRC_NODE_T *authHandleNode; in Esys_ChangePPS_Async() local
166 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_ChangePPS_Async()
171 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_ChangePPS_Async()
172 : authHandleNode->rsrc.handle); in Esys_ChangePPS_Async()
178 if (authHandleNode != NULL) in Esys_ChangePPS_Async()
180 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_ChangePPS_Async()
188 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_ChangePPS_Async()
DEsys_SetAlgorithmSet.c155 RSRC_NODE_T *authHandleNode; in Esys_SetAlgorithmSet_Async() local
172 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_SetAlgorithmSet_Async()
177 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_SetAlgorithmSet_Async()
178 : authHandleNode->rsrc.handle, in Esys_SetAlgorithmSet_Async()
185 if (authHandleNode != NULL) in Esys_SetAlgorithmSet_Async()
187 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_SetAlgorithmSet_Async()
195 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_SetAlgorithmSet_Async()
DEsys_HierarchyControl.c162 RSRC_NODE_T *authHandleNode; in Esys_HierarchyControl_Async() local
179 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_HierarchyControl_Async()
184 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_HierarchyControl_Async()
185 : authHandleNode->rsrc.handle, enable, in Esys_HierarchyControl_Async()
192 if (authHandleNode != NULL) in Esys_HierarchyControl_Async()
194 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_HierarchyControl_Async()
202 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_HierarchyControl_Async()
DEsys_SetPrimaryPolicy.c156 RSRC_NODE_T *authHandleNode; in Esys_SetPrimaryPolicy_Async() local
173 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_SetPrimaryPolicy_Async()
178 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_SetPrimaryPolicy_Async()
179 : authHandleNode->rsrc.handle, in Esys_SetPrimaryPolicy_Async()
186 if (authHandleNode != NULL) in Esys_SetPrimaryPolicy_Async()
188 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_SetPrimaryPolicy_Async()
196 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_SetPrimaryPolicy_Async()
DEsys_ChangeEPS.c149 RSRC_NODE_T *authHandleNode; in Esys_ChangeEPS_Async() local
166 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_ChangeEPS_Async()
171 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_ChangeEPS_Async()
172 : authHandleNode->rsrc.handle); in Esys_ChangeEPS_Async()
178 if (authHandleNode != NULL) in Esys_ChangeEPS_Async()
180 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_ChangeEPS_Async()
188 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_ChangeEPS_Async()
DEsys_NV_GlobalWriteLock.c149 RSRC_NODE_T *authHandleNode; in Esys_NV_GlobalWriteLock_Async() local
166 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_GlobalWriteLock_Async()
171 (authHandleNode == NULL) in Esys_NV_GlobalWriteLock_Async()
173 : authHandleNode->rsrc.handle); in Esys_NV_GlobalWriteLock_Async()
179 if (authHandleNode != NULL) in Esys_NV_GlobalWriteLock_Async()
181 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_GlobalWriteLock_Async()
189 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_NV_GlobalWriteLock_Async()
DEsys_Clear.c148 RSRC_NODE_T *authHandleNode; in Esys_Clear_Async() local
165 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_Clear_Async()
170 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_Clear_Async()
171 : authHandleNode->rsrc.handle); in Esys_Clear_Async()
177 if (authHandleNode != NULL) in Esys_Clear_Async()
179 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_Clear_Async()
187 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_Clear_Async()
DEsys_PCR_SetAuthPolicy.c156 RSRC_NODE_T *authHandleNode; in Esys_PCR_SetAuthPolicy_Async() local
173 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_PCR_SetAuthPolicy_Async()
178 (authHandleNode == NULL) in Esys_PCR_SetAuthPolicy_Async()
180 : authHandleNode->rsrc.handle, in Esys_PCR_SetAuthPolicy_Async()
187 if (authHandleNode != NULL) in Esys_PCR_SetAuthPolicy_Async()
189 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_PCR_SetAuthPolicy_Async()
197 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_PCR_SetAuthPolicy_Async()
DEsys_PCR_Allocate.c167 RSRC_NODE_T *authHandleNode; in Esys_PCR_Allocate_Async() local
184 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_PCR_Allocate_Async()
189 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_PCR_Allocate_Async()
190 : authHandleNode->rsrc.handle, in Esys_PCR_Allocate_Async()
197 if (authHandleNode != NULL) in Esys_PCR_Allocate_Async()
199 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_PCR_Allocate_Async()
207 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_PCR_Allocate_Async()
DEsys_NV_UndefineSpace.c161 RSRC_NODE_T *authHandleNode; in Esys_NV_UndefineSpace_Async() local
180 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_UndefineSpace_Async()
187 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_UndefineSpace_Async()
188 : authHandleNode->rsrc.handle, in Esys_NV_UndefineSpace_Async()
196 if (authHandleNode != NULL) in Esys_NV_UndefineSpace_Async()
198 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_UndefineSpace_Async()
206 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_UndefineSpace_Async()
DEsys_PolicyAuthorizeNV.c161 RSRC_NODE_T *authHandleNode; in Esys_PolicyAuthorizeNV_Async() local
180 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_PolicyAuthorizeNV_Async()
189 (authHandleNode == NULL) in Esys_PolicyAuthorizeNV_Async()
191 : authHandleNode->rsrc.handle, in Esys_PolicyAuthorizeNV_Async()
202 if (authHandleNode != NULL) in Esys_PolicyAuthorizeNV_Async()
204 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_PolicyAuthorizeNV_Async()
212 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, policySessionNode, &auths); in Esys_PolicyAuthorizeNV_Async()
DEsys_PolicyNV.c169 RSRC_NODE_T *authHandleNode; in Esys_PolicyNV_Async() local
188 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_PolicyNV_Async()
197 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_PolicyNV_Async()
198 : authHandleNode->rsrc.handle, in Esys_PolicyNV_Async()
209 if (authHandleNode != NULL) in Esys_PolicyNV_Async()
211 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_PolicyNV_Async()
219 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, policySessionNode, &auths); in Esys_PolicyNV_Async()
DEsys_NV_Read.c161 RSRC_NODE_T *authHandleNode; in Esys_NV_Read_Async() local
179 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_Read_Async()
186 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_Read_Async()
187 : authHandleNode->rsrc.handle, in Esys_NV_Read_Async()
195 if (authHandleNode != NULL) in Esys_NV_Read_Async()
197 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_Read_Async()
205 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_Read_Async()
DEsys_NV_SetBits.c168 RSRC_NODE_T *authHandleNode; in Esys_NV_SetBits_Async() local
187 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_SetBits_Async()
194 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_SetBits_Async()
195 : authHandleNode->rsrc.handle, in Esys_NV_SetBits_Async()
203 if (authHandleNode != NULL) in Esys_NV_SetBits_Async()
205 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_SetBits_Async()
213 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_SetBits_Async()
DEsys_NV_Extend.c162 RSRC_NODE_T *authHandleNode; in Esys_NV_Extend_Async() local
181 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_Extend_Async()
188 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_Extend_Async()
189 : authHandleNode->rsrc.handle, in Esys_NV_Extend_Async()
197 if (authHandleNode != NULL) in Esys_NV_Extend_Async()
199 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_Extend_Async()
207 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_Extend_Async()
DEsys_NV_Write.c166 RSRC_NODE_T *authHandleNode; in Esys_NV_Write_Async() local
185 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_Write_Async()
192 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_Write_Async()
193 : authHandleNode->rsrc.handle, in Esys_NV_Write_Async()
201 if (authHandleNode != NULL) in Esys_NV_Write_Async()
203 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_Write_Async()
211 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_Write_Async()
DEsys_NV_WriteLock.c163 RSRC_NODE_T *authHandleNode; in Esys_NV_WriteLock_Async() local
182 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_WriteLock_Async()
189 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_WriteLock_Async()
190 : authHandleNode->rsrc.handle, in Esys_NV_WriteLock_Async()
198 if (authHandleNode != NULL) in Esys_NV_WriteLock_Async()
200 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_WriteLock_Async()
208 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_WriteLock_Async()
DEsys_NV_Increment.c163 RSRC_NODE_T *authHandleNode; in Esys_NV_Increment_Async() local
182 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_Increment_Async()
189 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_Increment_Async()
190 : authHandleNode->rsrc.handle, in Esys_NV_Increment_Async()
198 if (authHandleNode != NULL) in Esys_NV_Increment_Async()
200 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_Increment_Async()
208 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_Increment_Async()
DEsys_NV_ReadLock.c163 RSRC_NODE_T *authHandleNode; in Esys_NV_ReadLock_Async() local
182 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_ReadLock_Async()
189 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_ReadLock_Async()
190 : authHandleNode->rsrc.handle, in Esys_NV_ReadLock_Async()
198 if (authHandleNode != NULL) in Esys_NV_ReadLock_Async()
200 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_ReadLock_Async()
208 r = iesys_gen_auths(esysContext, authHandleNode, nvIndexNode, NULL, &auths); in Esys_NV_ReadLock_Async()
DEsys_PolicySecret.c176 RSRC_NODE_T *authHandleNode; in Esys_PolicySecret_Async() local
194 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_PolicySecret_Async()
201 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_PolicySecret_Async()
202 : authHandleNode->rsrc.handle, in Esys_PolicySecret_Async()
211 if (authHandleNode != NULL) in Esys_PolicySecret_Async()
213 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_PolicySecret_Async()
221 r = iesys_gen_auths(esysContext, authHandleNode, policySessionNode, NULL, &auths); in Esys_PolicySecret_Async()
DEsys_NV_Certify.c179 RSRC_NODE_T *authHandleNode; in Esys_NV_Certify_Async() local
199 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_Certify_Async()
208 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_Certify_Async()
209 : authHandleNode->rsrc.handle, in Esys_NV_Certify_Async()
224 if (authHandleNode != NULL) in Esys_NV_Certify_Async()
226 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_Certify_Async()
233 r = iesys_gen_auths(esysContext, signHandleNode, authHandleNode, nvIndexNode, &auths); in Esys_NV_Certify_Async()
DEsys_NV_DefineSpace.c175 RSRC_NODE_T *authHandleNode; in Esys_NV_DefineSpace_Async() local
203 r = esys_GetResourceObject(esysContext, authHandle, &authHandleNode); in Esys_NV_DefineSpace_Async()
208 (authHandleNode == NULL) ? TPM2_RH_NULL in Esys_NV_DefineSpace_Async()
209 : authHandleNode->rsrc.handle, auth, in Esys_NV_DefineSpace_Async()
216 if (authHandleNode != NULL) in Esys_NV_DefineSpace_Async()
218 &authHandleNode->rsrc.name, &authHandleNode->auth); in Esys_NV_DefineSpace_Async()
226 r = iesys_gen_auths(esysContext, authHandleNode, NULL, NULL, &auths); in Esys_NV_DefineSpace_Async()