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/ |
D | pake_v2_auth_task_common.c | 69 (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 …]
|
D | pake_v2_auth_client_task.c | 62 …GOTO_IF_ERR(AddStringToJson(sendToPeer, FIELD_DEV_ID, (const char *)innerTask->params.devIdSelf.va… in AsyAuthClientStepOne()
|
D | pake_v2_auth_server_task.c | 96 …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/ |
D | iso_auth_task_common.c | 73 int32_t res = InitSingleParam(¶ms->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 …]
|
D | iso_auth_server_task.c | 119 …if (AddByteToJson(sendToPeer, FIELD_DEV_ID, params->devIdSelf.val, params->devIdSelf.length) != CL… in PackIsoAuthServerGetTokenMsg()
|
D | iso_auth_client_task.c | 98 …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/ |
D | iso_auth_task_common.h | 34 Uint8Buff devIdSelf; member
|
/base/security/device_auth/services/authenticators/inc/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_task_common.h | 35 Uint8Buff devIdSelf; member
|