Home
last modified time | relevance | path

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

/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c48 params->userIdSelf = (char *)HcMalloc(DEV_AUTH_USER_ID_SIZE, 0); in FillUserId()
49 if (params->userIdSelf == NULL) { in FillUserId()
58 const char *userIdSelf = GetStringFromJson(in, FIELD_SELF_USER_ID); in FillUserId() local
59 if (userIdSelf == NULL) { in FillUserId()
64 if (strcpy_s(params->userIdSelf, DEV_AUTH_USER_ID_SIZE, userIdSelf) != EOK) { in FillUserId()
148 …int32_t res = GetSymTokenManager()->generateKeyAlias(params->userIdSelf, (const char *)(params->de… in GenerateAuthTokenForAccessory()
160 .val = (uint8_t *)(params->userIdSelf), in GenerateAuthTokenForAccessory()
161 .length = HcStrlen(params->userIdSelf) in GenerateAuthTokenForAccessory()
270 HcFree(params->userIdSelf); in DestroyIsoAuthParams()
271 params->userIdSelf = NULL; in DestroyIsoAuthParams()
Diso_auth_server_task.c115 if (AddStringToJson(sendToPeer, FIELD_USER_ID, params->userIdSelf) != CLIB_SUCCESS) { in PackIsoAuthServerGetTokenMsg()
Diso_auth_client_task.c94 if (AddStringToJson(sendToPeer, FIELD_USER_ID, params->userIdSelf) != CLIB_SUCCESS) { in PackIsoAuthClientBeginMsg()
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.c68 int32_t res = GetAccountAuthTokenManager()->generateKeyAlias((const char *)(params->userIdSelf), in VerifyPkSignPeer()
103 int32_t res = GetAccountAuthTokenManager()->generateKeyAlias((const char *)(params->userIdSelf), in GenerateEcdhSharedKey()
345 (const char *)params->userIdSelf, (const char *)params->devIdSelf.val) != HC_SUCCESS) { in GetAsyPubKeyInfo()
380 const char *userIdSelf = GetStringFromJson(in, FIELD_SELF_USER_ID); in FillUserIdForAuth() local
381 if (userIdSelf == NULL) { in FillUserIdForAuth()
385 if (memcpy_s(params->userIdSelf, sizeof(params->userIdSelf), userIdSelf, in FillUserIdForAuth()
386 sizeof(params->userIdSelf)) != EOK) { in FillUserIdForAuth()
452 (void)memset_s(params->userIdSelf, sizeof(params->userIdSelf), 0, sizeof(params->userIdSelf)); in DestroyPakeAuthParams()
Dpake_v2_auth_client_task.c59 …OTO_IF_ERR(AddStringToJson(sendToPeer, FIELD_USER_ID, (const char *)innerTask->params.userIdSelf)); in AsyAuthClientStepOne()
Dpake_v2_auth_server_task.c91 (const char *)innerTask->params.userIdSelf), ret); in PrepareAsyServerStepOneData()
/base/security/device_auth/services/authenticators/inc/account_related/auth/iso_auth_task/
Diso_auth_task_common.h36 char *userIdSelf; member
/base/security/device_auth/services/authenticators/inc/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.h37 uint8_t userIdSelf[DEV_AUTH_USER_ID_SIZE]; member