Home
last modified time | relevance | path

Searched refs:taskParams (Results 1 – 3 of 3) sorted by relevance

/base/security/device_auth/services/group_manager/src/
Dgroup_manager_common.c23 static int32_t InitGroupManagerTask(GroupManagerTask *task, GMTaskParams *taskParams, TaskFunc func) in InitGroupManagerTask() argument
27 task->osAccountId = taskParams->osAccountId; in InitGroupManagerTask()
28 task->opCode = taskParams->opCode; in InitGroupManagerTask()
29 task->reqId = taskParams->reqId; in InitGroupManagerTask()
30 task->params = taskParams->params; in InitGroupManagerTask()
31 return BindCallbackToTask(task, taskParams->params); in InitGroupManagerTask()
87 GMTaskParams taskParams; in InitAndPushGMTask() local
88 taskParams.osAccountId = osAccountId; in InitAndPushGMTask()
89 taskParams.opCode = opCode; in InitAndPushGMTask()
90 taskParams.reqId = reqId; in InitAndPushGMTask()
[all …]
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_server_task.c273 …PakeV2AuthServerTask *taskParams = (PakeV2AuthServerTask *)HcMalloc(sizeof(PakeV2AuthServerTask), … in CreatePakeV2AuthServerTask() local
274 if (taskParams == NULL) { in CreatePakeV2AuthServerTask()
278 (void)memset_s(taskParams, sizeof(PakeV2AuthServerTask), 0, sizeof(PakeV2AuthServerTask)); in CreatePakeV2AuthServerTask()
279 taskParams->taskBase.getTaskType = GetPakeV2AuthServerType; in CreatePakeV2AuthServerTask()
280 taskParams->taskBase.process = ProcessServerTask; in CreatePakeV2AuthServerTask()
281 taskParams->taskBase.destroyTask = DestroyAuthServerAuthTask; in CreatePakeV2AuthServerTask()
283 if (InitPakeAuthParams(in, &(taskParams->params), verInfo) != HC_SUCCESS) { in CreatePakeV2AuthServerTask()
285 DestroyAuthServerAuthTask((TaskBase *)taskParams); in CreatePakeV2AuthServerTask()
289 taskParams->taskBase.taskStatus = TASK_STATUS_PAKE_FOLLOW_STEP_ONE; in CreatePakeV2AuthServerTask()
290 return (TaskBase *)taskParams; in CreatePakeV2AuthServerTask()
Dpake_v2_auth_client_task.c285 …PakeV2AuthClientTask *taskParams = (PakeV2AuthClientTask *)HcMalloc(sizeof(PakeV2AuthClientTask), … in CreatePakeV2AuthClientTask() local
286 if (taskParams == NULL) { in CreatePakeV2AuthClientTask()
290 taskParams->taskBase.getTaskType = GetPakeV2AuthClientType; in CreatePakeV2AuthClientTask()
291 taskParams->taskBase.destroyTask = DestroyAuthClientAuthTask; in CreatePakeV2AuthClientTask()
292 taskParams->taskBase.process = ProcessClientTask; in CreatePakeV2AuthClientTask()
293 int32_t res = InitPakeAuthParams(in, &(taskParams->params), verInfo); in CreatePakeV2AuthClientTask()
295 DestroyAuthClientAuthTask((TaskBase *)taskParams); in CreatePakeV2AuthClientTask()
300 taskParams->taskBase.taskStatus = TASK_STATUS_PAKE_MAIN_BEGIN; in CreatePakeV2AuthClientTask()
301 return (TaskBase *)taskParams; in CreatePakeV2AuthClientTask()