Home
last modified time | relevance | path

Searched refs:devIdSelf (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_task_common.c69 (const char *)params->devIdSelf.val, &serverPkAliasBuff, true); in VerifyPkSignPeer()
104 (const char *)params->devIdSelf.val, &aliasBuff, false); in GenerateEcdhSharedKey()
174 params->devIdSelf.length + deviceIdSelfLen) != HC_SUCCESS) { in ExtractPakeSelfId()
179 …id)memcpy_s(params->pakeParams.idSelf.val, params->pakeParams.idSelf.length, params->devIdSelf.val, in ExtractPakeSelfId()
180 params->devIdSelf.length); in ExtractPakeSelfId()
181 (void)memcpy_s(params->pakeParams.idSelf.val + params->devIdSelf.length, in ExtractPakeSelfId()
182 …params->pakeParams.idSelf.length - params->devIdSelf.length, params->deviceIdSelf.val, deviceIdSel… in ExtractPakeSelfId()
251 const char *devIdSelf = GetStringFromJson(in, FIELD_SELF_DEV_ID); in ExtractSelfDevId() local
252 if (devIdSelf == NULL) { in ExtractSelfDevId()
256 params->devIdSelf.length = HcStrlen(devIdSelf); in ExtractSelfDevId()
[all …]
Dpake_v2_auth_client_task.c62 …GOTO_IF_ERR(AddStringToJson(sendToPeer, FIELD_DEV_ID, (const char *)innerTask->params.devIdSelf.va… in AsyAuthClientStepOne()
Dpake_v2_auth_server_task.c96 …RET(AddStringToJson(sendToPeer, FIELD_DEV_ID, (const char *)innerTask->params.devIdSelf.val), ret); in PrepareAsyServerStepOneData()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c73 int32_t res = InitSingleParam(&params->devIdSelf, DEV_AUTH_DEVICE_ID_SIZE); in FillPayload()
78 const char *devIdSelf = GetStringFromJson(in, FIELD_SELF_DEV_ID); in FillPayload() local
79 if (devIdSelf == NULL) { in FillPayload()
83 uint32_t devIdLen = HcStrlen(devIdSelf); in FillPayload()
84 if (memcpy_s(params->devIdSelf.val, params->devIdSelf.length, devIdSelf, devIdLen + 1) != EOK) { in FillPayload()
88 params->devIdSelf.length = devIdLen; in FillPayload()
104 …params->isoBaseParams.authIdSelf.length = params->devIdSelf.length + HcStrlen(params->deviceIdSelf… in FillPayload()
111 params->devIdSelf.val, params->devIdSelf.length) != EOK) { in FillPayload()
115 if (memcpy_s(params->isoBaseParams.authIdSelf.val + params->devIdSelf.length, in FillPayload()
116 params->isoBaseParams.authIdSelf.length - params->devIdSelf.length, in FillPayload()
[all …]
Diso_auth_server_task.c119 …if (AddByteToJson(sendToPeer, FIELD_DEV_ID, params->devIdSelf.val, params->devIdSelf.length) != CL… in PackIsoAuthServerGetTokenMsg()
Diso_auth_client_task.c98 …if (AddByteToJson(sendToPeer, FIELD_DEV_ID, params->devIdSelf.val, params->devIdSelf.length) != CL… in PackIsoAuthClientBeginMsg()
/base/security/device_auth/services/authenticators/inc/account_related/auth/iso_auth_task/
Diso_auth_task_common.h34 Uint8Buff devIdSelf; member
/base/security/device_auth/services/authenticators/inc/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.h35 Uint8Buff devIdSelf; member