Home
last modified time | relevance | path

Searched refs:FIELD_CHALLENGE (Results 1 – 15 of 15) sorted by relevance

/base/security/device_security_level/services/dslm/
Ddslm_msg_utils.c59 AddFieldStringToJson(body, FIELD_CHALLENGE, nonce); in GenerateSecInfoResponseJson()
101 AddFieldStringToJson(body, FIELD_CHALLENGE, nonce); in GenerateSecInfoRequestJson()
154 const char *nonceStr = GetJsonFieldString(handle, FIELD_CHALLENGE); in ParseDeviceSecInfoRequest()
210 const char *nonceStr = GetJsonFieldString(handle, FIELD_CHALLENGE); in ParseDeviceSecInfoResponse()
Ddslm_msg_utils.h29 #define FIELD_CHALLENGE "challenge" macro
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
Dpake_client_confirm.c41 int32_t result = byte_convert(obj, FIELD_CHALLENGE, pake_client_confirm->challenge.challenge, in parse_pake_client_confirm()
110 PAKE_CLIENT_CONFIRM, FIELD_PAYLOAD, FIELD_KCF_DATA, tmp_kcf_data_hex, FIELD_CHALLENGE, in make_pake_client_confirm()
Dpake_response.c41 int32_t result = byte_convert(obj, FIELD_CHALLENGE, pake_response->challenge.challenge, in parse_pake_response()
120 FIELD_CHALLENGE, (char *)tmp_cha_data_hex, FIELD_SALT, (char *)tmp_salt_data_hex, FIELD_EPK, in make_pake_response()
Dauth_start_request.c48 int32_t result = byte_convert(obj, FIELD_CHALLENGE, auth_start_request->challenge.challenge, in parse_auth_start_request()
106 FIELD_CHALLENGE, tmp_hex.tmp_cha_data_hex, FIELD_EPK, tmp_hex.tmp_epk_data_hex, in make_request_json_str()
Dauth_start_response.c49 result = byte_convert(obj, FIELD_CHALLENGE, auth_start_response->challenge.challenge, in parse_auth_start_response()
106 tmp_hex.tmp_auth_data_hex, FIELD_CHALLENGE, tmp_hex.tmp_cha_data_hex, FIELD_EPK, in make_response_json_str()
Dparsedata.h172 #define FIELD_CHALLENGE "challenge" macro
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
Dpake_v1_server_protocol_task.c59 res = AddByteToJson(payload, FIELD_CHALLENGE, params->baseParams.challengeSelf.val, in PackageMsgForResponse()
146 if (GetByteFromJson(in, FIELD_CHALLENGE, params->baseParams.challengePeer.val, in PakeServerConfirm()
Dpake_v1_client_protocol_task.c95 res = GetByteFromJson(in, FIELD_CHALLENGE, params->baseParams.challengePeer.val, in ParseMsgForClientConfirm()
129 res = AddByteToJson(payload, FIELD_CHALLENGE, params->baseParams.challengeSelf.val, in PackageMsgForClientConfirm()
/base/security/device_auth/services/frameworks/inc/
Dcommon_defs.h42 #define FIELD_CHALLENGE "challenge" macro
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
Dstandard_exchange_message_util.c118 res = GetByteFromJson(in, FIELD_CHALLENGE, in GetPeerChallenge()
Dstandard_client_unbind_exchange_task.c56 … GOTO_ERR_AND_SET_RET(AddByteToJson(data, FIELD_CHALLENGE, params->baseParams.challengeSelf.val, in ExchangeRequest()
Dstandard_server_bind_exchange_task.c53 if (AddByteToJson(payload, FIELD_CHALLENGE, in ExchangeStart()
Dstandard_client_bind_exchange_task.c56 … GOTO_ERR_AND_SET_RET(AddByteToJson(data, FIELD_CHALLENGE, params->baseParams.challengeSelf.val, in ExchangeRequest()
Dstandard_server_unbind_exchange_task.c53 if (AddByteToJson(payload, FIELD_CHALLENGE, in ExchangeStart()