Home
last modified time | relevance | path

Searched refs:GetBoolFromJson (Results 1 – 18 of 18) sorted by relevance

/base/security/device_auth/test/unittest/deviceauth/source/
Dprotocol_task_main_mock.c49 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreatePakeV1SubTask()
78 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreateIsoSubTask()
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/
Dpake_v1_task_main.c31 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreatePakeV1SubTask()
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_main.c31 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreateIsoSubTask()
Diso_task_common.c463 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &(params->isClient)) != 0) { in InitIsoParams()
/base/security/device_auth/services/group_auth/src/session/auth_session/
Dauth_session_common.c168 (void)GetBoolFromJson(param, FIELD_IS_DEVICE_LEVEL, &deviceLevelFlag); in GetCandidateGroupInfo()
169 if (GetBoolFromJson(param, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in GetCandidateGroupInfo()
231 if (GetBoolFromJson(authParam, FIELD_IS_CLIENT, &isClient)) { in AddGroupAuthTransmitData()
625 (void)GetBoolFromJson(receiveData, FIELD_IS_DEVICE_LEVEL, &receiveLevel); in ProcessDeviceLevel()
626 (void)GetBoolFromJson(authParam, FIELD_IS_DEVICE_LEVEL, &authLevel); in ProcessDeviceLevel()
694 (void)GetBoolFromJson(authParam, FIELD_IS_CLIENT, &isClient); in InformLocalAuthError()
/base/security/device_auth/common_lib/interfaces/
Djson_utils.h86 int32_t GetBoolFromJson(const CJson *jsonObj, const char *key, bool *value);
/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_manager.c79 if (GetBoolFromJson(realTask->authParams, FIELD_IS_CLIENT, &isClient)) { in DoAuthDevice()
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_task_main.c177 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != CLIB_SUCCESS) { in AccountSendCreateError()
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c277 int32_t GetBoolFromJson(const CJson *jsonObj, const char *key, bool *value) in GetBoolFromJson() function
293 int32_t ret = GetBoolFromJson(item, key, value); in GetBoolFromJson()
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_message_util.c57 if (GetBoolFromJson(in, FIELD_SUPPORT_256_MOD, &is256ModSupported) != HC_SUCCESS) { in ParsePakeRequestMessage()
Dpake_task_common.c261 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &(params->baseParams.isClient)) != HC_SUCCESS) { in FillDasPakeParams()
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.c46 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreatePakeV2AuthTask()
416 GOTO_IF_ERR(GetBoolFromJson(in, FIELD_IS_CLIENT, &params->pakeParams.isClient)); in InitPakeAuthParams()
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c526 (void)GetBoolFromJson(jsonParams, FIELD_IS_IGNORE_CHANNEL, &isIgnoreChannel); in ShouldForceUnbind()
641 (void)(GetBoolFromJson(jsonParams, FIELD_IS_FORCE_DELETE, &isForceDelete)); in DeleteMemberFromGroup()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c39 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != CLIB_SUCCESS) { in CreateIsoAuthTask()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c392 (void)GetBoolFromJson(receiveData, FIELD_IS_DEVICE_LEVEL, &receiveDeviceLevel); in GetDasReqParams()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c364 if (GetBoolFromJson(params, FIELD_IS_SELF_PK, &isSelfPk) != HC_SUCCESS) { in GeneratePkInfoList()
522 (void)GetBoolFromJson(jsonParams, FIELD_IS_ADMIN, &isAdmin); in GetOpCodeWhenAdd()
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_task_main.c359 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreateTaskT()
/base/security/device_auth/services/group_manager/src/session/bind_session/
Dbind_session_common.c587 (void)GetBoolFromJson(jsonParams, FIELD_IS_FORCE_DELETE, &isForceDelete); in AddIsForceDeleteIfNeed()
1148 (void)GetBoolFromJson(session->params, FIELD_IS_FORCE_DELETE, &needForceDelete); in NeedForceDelete()