Home
last modified time | relevance | path

Searched refs:FIELD_MESSAGE (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
H A Dparsedata.c30 ret = get_json_int(obj, FIELD_MESSAGE); in parse_header()
47 int32_t message_code = get_json_int(obj, FIELD_MESSAGE); in parse_data()
H A Dsec_clone_data.c93 …s(ret_str, RET_STR_LENGTH, RET_STR_LENGTH - 1, "{\"%s\":%d,\"%s\":{\"%s\":\"%s\"}}", FIELD_MESSAGE, in make_single_json_data()
111 …ntf_s(ret_str, RET_STR_LENGTH, RET_STR_LENGTH - 1, "{\"%s\":%d,\"%s\":{\"%s\":%s}}", FIELD_MESSAGE, in make_single_json_data_srv_proof()
H A Dauth_ack_request.c51 FIELD_AUTH_FORM, AUTH_FORM, FIELD_MESSAGE, AUTH_ACK_REQUEST, FIELD_PAYLOAD, in make_auth_ack_request()
H A Dpake_request.c43 FIELD_MESSAGE, PAKE_REQUEST, FIELD_PAYLOAD, FIELD_VERSION, FIELD_CURRENT_VERSION, in make_pake_request()
H A Dexchange_request.c52 …s(ret_str, RET_STR_LENGTH, RET_STR_LENGTH - 1, "{\"%s\":%d,\"%s\":{\"%s\":\"%s\"}}", FIELD_MESSAGE, in make_exchange_request()
H A Dinform_message.c66 …tf_s(ret_str, RET_STR_LENGTH, RET_STR_LENGTH - 1, "{\"%s\":%d, \"%s\":{\"%s\":%d}}", FIELD_MESSAGE, in make_inform_message()
H A Dpake_client_confirm.c67 "{\"%s\":%d,\"%s\":{\"%s\":\"%s\", \"%s\":\"%s\", \"%s\":\"%s\"}}", FIELD_MESSAGE, in make_pake_client_confirm()
H A Drmv_auth_info_request.c96 …s(ret_str, RET_STR_LENGTH, RET_STR_LENGTH - 1, "{\"%s\":%d,\"%s\":{\"%s\":\"%s\"}}", FIELD_MESSAGE, in make_rmv_auth_info_request()
H A Drmv_auth_info_response.c96 …s(ret_str, RET_STR_LENGTH, RET_STR_LENGTH - 1, "{\"%s\":%d,\"%s\":{\"%s\":\"%s\"}}", FIELD_MESSAGE, in make_rmv_auth_info_response()
H A Dauth_start_request.c46 FIELD_AUTH_FORM, AUTH_FORM, FIELD_MESSAGE, AUTH_START_REQUEST, FIELD_PAYLOAD, in make_request_json_str()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/common/
H A Ddas_task_common.c67 GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, ERR_MESSAGE), res); in DasSendErrorToOut()
106 if (GetIntFromJson(in, FIELD_MESSAGE, &message) != 0) { in ProtocolMessageIn()
126 res = AddIntToJson(sendToPeer, FIELD_MESSAGE, step); in ClientProtocolMessageOut()
131 res = AddIntToJson(sendToPeer, FIELD_MESSAGE, step); in ClientProtocolMessageOut()
152 res = AddIntToJson(sendToPeer, FIELD_MESSAGE, step); in ServerProtocolMessageOut()
158 res = AddIntToJson(sendToPeer, FIELD_MESSAGE, step); in ServerProtocolMessageOut()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/
H A Daccount_task_main.c61 if (AddIntToJson(sendToPeer, FIELD_MESSAGE, ERR_MSG) != CLIB_SUCCESS) { in AccountSendErrMsgToOut()
109 if ((GetIntFromJson(in, FIELD_MESSAGE, &message) != CLIB_SUCCESS) && in IsPeerErrMessage()
H A Daccount_module.c45 key = FIELD_MESSAGE; in IsAccountMsgNeedIgnore()
/ohos5.0/base/security/device_security_level/services/include/
H A Ddslm_msg_serialize.h30 #define FIELD_MESSAGE "message" macro
/ohos5.0/base/security/device_security_level/services/dslm/
H A Ddslm_msg_utils.c49 DslmAddFieldIntToJson(head, FIELD_MESSAGE, MSG_TYPE_DSLM_CRED_RESPONSE); in GenerateSecInfoResponseJson()
97 DslmAddFieldIntToJson(head, FIELD_MESSAGE, MSG_TYPE_DSLM_CRED_REQUEST); in GenerateSecInfoRequestJson()
/ohos5.0/base/security/device_security_level/services/common/
H A Ddslm_msg_serialize.c75 int32_t msgType = DslmGetJsonFieldInt(handle, FIELD_MESSAGE); in ParseMessage()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
H A Diso_client_bind_exchange_task.c145 res = GetIntFromJson(in, FIELD_MESSAGE, &message); in Process()
230 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, ISO_CLIENT_BIND_EXCHANGE_CMD), res); in ClientBindExchangeStart()
H A Diso_server_bind_exchange_task.c55 res = GetIntFromJson(in, FIELD_MESSAGE, &message); in Process()
223 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, ISO_SERVER_BIND_EXCHANGE_RET), res); in GenerateAuthCodeAndImport()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/inc/struct/
H A Dparsedata.h157 #define FIELD_MESSAGE "message" macro
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/
H A Diso_server_task.c49 if (GetIntFromJson(in, FIELD_MESSAGE, &message) != 0) { in CreateNextTask()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/
H A Ddas_module.c55 if (GetIntFromJson(in, FIELD_MESSAGE, &message) != HC_SUCCESS) { in IsDasMsgNeedIgnore()
/ohos5.0/base/security/device_auth/services/frameworks/inc/
H A Dcommon_defs.h77 #define FIELD_MESSAGE "message" macro
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dstandard_client_bind_exchange_task.c64 GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, PAKE_BIND_EXCHANGE_REQUEST), res); in ExchangeRequest()
H A Dstandard_server_bind_exchange_task.c106 GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_MESSAGE, PAKE_BIND_EXCHANGE_RESPONSE), res); in ExchangeResponse()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
H A Dcompatible_bind_sub_session.c725 if (GetIntFromJson(jsonParams, FIELD_MESSAGE, &message) != HC_SUCCESS) { in AddRecvModuleDataToParams()
736 if (AddIntToJson(moduleParams, FIELD_MESSAGE, message) != HC_SUCCESS) { in AddRecvModuleDataToParams()

12