Home
last modified time | relevance | path

Searched refs:FIELD_VERSION (Results 1 – 14 of 14) sorted by relevance

/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
Dpake_request.c47 json_pobject obj_ver = get_json_obj(obj, FIELD_VERSION); in parse_pake_request()
87 FIELD_MESSAGE, PAKE_REQUEST, FIELD_PAYLOAD, FIELD_VERSION, FIELD_CURRENT_VERSION, in make_pake_request()
Dpake_response.c62 json_pobject obj_ver = get_json_obj(obj, FIELD_VERSION); in parse_pake_response()
116 FIELD_MESSAGE, PAKE_RESPONSE, FIELD_PAYLOAD, FIELD_VERSION, FIELD_CURRENT_VERSION, in make_pake_response()
Dauth_start_request.c72 json_pobject obj_ver = get_json_obj(obj, FIELD_VERSION); in parse_auth_start_request()
108 FIELD_VERSION, FIELD_CURRENT_VERSION, auth_start_request->peer_version.first, in make_request_json_str()
Dauth_start_response.c72 json_pobject obj_ver = get_json_obj(obj, FIELD_VERSION); in parse_auth_start_response()
108 FIELD_VERSION, FIELD_CURRENT_VERSION, as_res->self_version.first, in make_response_json_str()
Dparsedata.h198 #define FIELD_VERSION "version" macro
/base/security/device_security_level/services/dslm/
Ddslm_msg_utils.c52 AddFieldIntToJson(body, FIELD_VERSION, (int32_t)GetCurrentVersion()); in GenerateSecInfoResponseJson()
99 AddFieldIntToJson(body, FIELD_VERSION, (int32_t)GetCurrentVersion()); in GenerateSecInfoRequestJson()
166 obj->version = (uint32_t)GetJsonFieldInt(handle, FIELD_VERSION); in ParseDeviceSecInfoRequest()
223 uint32_t verNum = (uint32_t)GetJsonFieldInt(handle, FIELD_VERSION); in ParseDeviceSecInfoResponse()
Ddslm_msg_utils.h28 #define FIELD_VERSION "version" macro
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/
Ddevauthservgetregisterinfo_fuzzer.cpp27 AddStringToJson(json, FIELD_VERSION, "1"); in GenerateReqJson()
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Daccount_related_creds_manager_dir_test.cpp154 if (AddStringToJson(in, FIELD_VERSION, "version")) { // For unit test.
266 if (AddStringToJson(in, FIELD_VERSION, "version") != HC_SUCCESS) { // For unit test.
/base/security/device_auth/services/frameworks/inc/
Dcommon_defs.h118 #define FIELD_VERSION "version" macro
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_version_util.c93 if (AddObjToJson(jsonObj, FIELD_VERSION, version) != HC_SUCCESS) { in AddVersionToJson()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c95 const char *version = GetStringFromJson(pkInfoJson, FIELD_VERSION); in BuildRealPkInfoJson()
122 if (AddStringToJson(realPkInfoJson, FIELD_VERSION, version) != HC_SUCCESS) { in BuildRealPkInfoJson()
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dasy_token_manager.c59 const char *version = GetStringFromJson(pkInfoJson, FIELD_VERSION); in GeneratePkInfoFromJson()
477 const char *version = GetStringFromJson(pkInfoJson, FIELD_VERSION); in DoImportServerPkAndVerify()
1040 const char *version = GetStringFromJson(in, FIELD_VERSION); in GetRegisterProof()
1078 GOTO_ERR_AND_SET_RET(AddStringToJson(out, FIELD_VERSION, version), ret); in GetRegisterProof()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session_common.c259 if (AddObjToJson(payload, FIELD_VERSION, version) != HC_SUCCESS) { in AddVersionMsgToError()