Home
last modified time | relevance | path

Searched refs:devIdSelf (Results 1 - 11 of 11) sorted by relevance

/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/
H A Diso_auth_task_common.c73 int32_t res = InitSingleParam(&params->devIdSelf, DEV_AUTH_DEVICE_ID_SIZE); in FillPayload()
77 const char *devIdSelf = GetStringFromJson(in, FIELD_SELF_DEV_ID); in FillPayload() local
78 if (devIdSelf == NULL) { in FillPayload()
79 LOGE("Failed to get devIdSelf in sym auth."); in FillPayload()
82 uint32_t devIdLen = HcStrlen(devIdSelf); in FillPayload()
83 if (memcpy_s(params->devIdSelf.val, params->devIdSelf.length, devIdSelf, devIdLen + 1) != EOK) { in FillPayload()
87 params->devIdSelf.length = devIdLen; in FillPayload()
103 params->isoBaseParams.authIdSelf.length = params->devIdSelf in FillPayload()
[all...]
H A Diso_auth_server_task.c119 if (AddByteToJson(sendToPeer, FIELD_DEV_ID, params->devIdSelf.val, params->devIdSelf.length) != CLIB_SUCCESS) { in PackIsoAuthServerGetTokenMsg()
120 LOGE("Add devIdSelf to json failed in server."); in PackIsoAuthServerGetTokenMsg()
H A Diso_auth_client_task.c98 if (AddByteToJson(sendToPeer, FIELD_DEV_ID, params->devIdSelf.val, params->devIdSelf.length) != CLIB_SUCCESS) { in PackIsoAuthClientBeginMsg()
99 LOGE("Add devIdSelf to json failed."); in PackIsoAuthClientBeginMsg()
/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/pake_v2_auth_task/
H A Dpake_v2_auth_task_common.c69 (const char *)params->devIdSelf.val, &serverPkAliasBuff, true); in VerifyPkSignPeer()
105 (const char *)params->devIdSelf.val, &aliasBuff, false); in GenerateEcdhSharedKey()
167 params->devIdSelf.length + deviceIdSelfLen) != HC_SUCCESS) { in ExtractPakeSelfId()
172 (void)memcpy_s(params->pakeParams.idSelf.val, params->pakeParams.idSelf.length, params->devIdSelf.val, in ExtractPakeSelfId()
173 params->devIdSelf.length); in ExtractPakeSelfId()
174 (void)memcpy_s(params->pakeParams.idSelf.val + params->devIdSelf.length, in ExtractPakeSelfId()
175 params->pakeParams.idSelf.length - params->devIdSelf.length, params->deviceIdSelf.val, deviceIdSelfLen); in ExtractPakeSelfId()
244 const char *devIdSelf = GetStringFromJson(in, FIELD_SELF_DEV_ID); in ExtractSelfDevId() local
245 if (devIdSelf == NULL) { in ExtractSelfDevId()
246 LOGE("Get devIdSelf faile in ExtractSelfDevId()
[all...]
H A Dpake_v2_auth_client_task.c62 GOTO_IF_ERR(AddStringToJson(sendToPeer, FIELD_DEV_ID, (const char *)innerTask->params.devIdSelf.val)); in AsyAuthClientStepOne()
H A Dpake_v2_auth_server_task.c96 GOTO_ERR_AND_SET_RET(AddStringToJson(sendToPeer, FIELD_DEV_ID, (const char *)innerTask->params.devIdSelf.val), ret); in PrepareAsyServerStepOneData()
/base/security/device_auth/services/legacy/authenticators/inc/account_related/auth/iso_auth_task/
H A Diso_auth_task_common.h34 Uint8Buff devIdSelf; member
/base/security/device_auth/services/legacy/authenticators/inc/account_related/auth/pake_v2_auth_task/
H A Dpake_v2_auth_task_common.h35 Uint8Buff devIdSelf; member
/base/security/device_auth/services/identity_manager/src/
H A Dcert_operation.c478 const char *devIdSelf = StringGet(&deviceEntry->authId); in GenerateAuthTokenForAccessory() local
481 ret = GetSymTokenManager()->generateKeyAlias(userIdSelf, devIdSelf, &keyAlias); in GenerateAuthTokenForAccessory()
/base/security/device_auth/test/fuzztest/authenticators/account_related/auth/isoauthtask_fuzzer/
H A Disoauthtask_fuzzer.cpp488 HcFree(innerTask->params.devIdSelf.val); in IsoAuthTaskTest21()
489 innerTask->params.devIdSelf.val = nullptr; in IsoAuthTaskTest21()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Diso_auth_task_test.cpp656 HcFree(innerTask->params.devIdSelf.val); in HWTEST_F()
657 innerTask->params.devIdSelf.val = nullptr; in HWTEST_F()

Completed in 9 milliseconds