Home
last modified time | relevance | path

Searched refs:userIdPeer (Results 1 – 8 of 8) sorted by relevance

/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_client_task.c141 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in AsyAuthClientStepTwo() local
142 uint32_t userIdPeerLen = HcStrlen(userIdPeer) + 1; in AsyAuthClientStepTwo()
143 if (userIdPeer == NULL || userIdPeerLen > DEV_AUTH_USER_ID_SIZE) { in AsyAuthClientStepTwo()
147 GOTO_IF_ERR(strcpy_s((char *)innerTask->params.userIdPeer, userIdPeerLen, userIdPeer)); in AsyAuthClientStepTwo()
193 GOTO_IF_ERR(AddStringToJson(sendToSelf, FIELD_USER_ID, (const char *)task->params.userIdPeer)); in SendFinalToOut()
Dpake_v2_auth_server_task.c123 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in AsyAuthServerStepOne() local
124 uint32_t userIdPeerLen = HcStrlen(userIdPeer) + 1; in AsyAuthServerStepOne()
125 if (userIdPeer == NULL || userIdPeerLen > DEV_AUTH_USER_ID_SIZE) { in AsyAuthServerStepOne()
129 GOTO_IF_ERR(strcpy_s((char *)innerTask->params.userIdPeer, userIdPeerLen, userIdPeer)); in AsyAuthServerStepOne()
184 GOTO_IF_ERR(AddStringToJson(sendToSelf, FIELD_USER_ID, (const char *)task->params.userIdPeer)); in SendFinalToOut()
Dpake_v2_auth_task_common.c453 (void)memset_s(params->userIdPeer, sizeof(params->userIdPeer), 0, sizeof(params->userIdPeer)); in DestroyPakeAuthParams()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c53 params->userIdPeer = (char *)HcMalloc(DEV_AUTH_USER_ID_SIZE, 0); in FillUserId()
54 if (params->userIdPeer == NULL) { in FillUserId()
178 …res = GetSymTokenManager()->generateKeyAlias(params->userIdPeer, (const char *)(params->devIdPeer.… in GenerateTokenAliasForController()
273 HcFree(params->userIdPeer); in DestroyIsoAuthParams()
274 params->userIdPeer = NULL; in DestroyIsoAuthParams()
397 if (AddStringToJson(sendToSelf, FIELD_USER_ID, params->userIdPeer) != CLIB_SUCCESS) { in AuthIsoSendFinalToOut()
Diso_auth_server_task.c41 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in ParseIsoAuthClientBeginMsg() local
42 if (userIdPeer == NULL) { in ParseIsoAuthClientBeginMsg()
46 if (strcpy_s(params->userIdPeer, DEV_AUTH_USER_ID_SIZE, userIdPeer) != EOK) { in ParseIsoAuthClientBeginMsg()
Diso_auth_client_task.c168 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in ParseIsoAuthServerGetTokenMsg() local
169 if (userIdPeer == NULL) { in ParseIsoAuthServerGetTokenMsg()
173 if (strcpy_s(params->userIdPeer, DEV_AUTH_USER_ID_SIZE, userIdPeer) != EOK) { in ParseIsoAuthServerGetTokenMsg()
/base/security/device_auth/services/authenticators/inc/account_related/auth/iso_auth_task/
Diso_auth_task_common.h37 char *userIdPeer; member
/base/security/device_auth/services/authenticators/inc/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.h38 uint8_t userIdPeer[DEV_AUTH_USER_ID_SIZE]; member