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/ |
D | pake_v2_auth_client_task.c | 141 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()
|
D | pake_v2_auth_server_task.c | 123 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()
|
D | pake_v2_auth_task_common.c | 453 (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/ |
D | iso_auth_task_common.c | 53 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()
|
D | iso_auth_server_task.c | 41 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()
|
D | iso_auth_client_task.c | 168 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/ |
D | iso_auth_task_common.h | 37 char *userIdPeer; member
|
/base/security/device_auth/services/authenticators/inc/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_task_common.h | 38 uint8_t userIdPeer[DEV_AUTH_USER_ID_SIZE]; member
|