/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_HierarchyChangeAuth.c | 165 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 …]
|
D | Esys_ChangePPS.c | 149 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()
|
D | Esys_SetAlgorithmSet.c | 155 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()
|
D | Esys_HierarchyControl.c | 162 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()
|
D | Esys_SetPrimaryPolicy.c | 156 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()
|
D | Esys_ChangeEPS.c | 149 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()
|
D | Esys_NV_GlobalWriteLock.c | 149 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()
|
D | Esys_Clear.c | 148 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()
|
D | Esys_PCR_SetAuthPolicy.c | 156 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()
|
D | Esys_PCR_Allocate.c | 167 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()
|
D | Esys_NV_UndefineSpace.c | 161 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()
|
D | Esys_PolicyAuthorizeNV.c | 161 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()
|
D | Esys_PolicyNV.c | 169 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()
|
D | Esys_NV_Read.c | 161 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()
|
D | Esys_NV_SetBits.c | 168 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()
|
D | Esys_NV_Extend.c | 162 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()
|
D | Esys_NV_Write.c | 166 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()
|
D | Esys_NV_WriteLock.c | 163 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()
|
D | Esys_NV_Increment.c | 163 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()
|
D | Esys_NV_ReadLock.c | 163 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()
|
D | Esys_PolicySecret.c | 176 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()
|
D | Esys_NV_Certify.c | 179 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()
|
D | Esys_NV_DefineSpace.c | 175 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()
|