Home
last modified time | relevance | path

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

/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
Dpake_response.c48 result = byte_convert(obj, FIELD_SALT, pake_response->salt.salt, 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_response.c57 result = byte_convert(obj, FIELD_SALT, auth_start_response->salt.salt, in parse_auth_start_response()
107 tmp_hex.tmp_epk_data_hex, FIELD_SALT, tmp_hex.tmp_salt_data_hex, in make_response_json_str()
Dparsedata.h195 #define FIELD_SALT "salt" macro
/base/security/device_auth/services/key_agree_sdk/inc/
Dkey_agree_session.h33 #define FIELD_SALT "salt" macro
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_message_util.c85 …int32_t res = AddByteToJson(payload, FIELD_SALT, params->baseParams.salt.val, params->baseParams.s… in PackagePakeResponseData()
132 …int32_t res = GetByteFromJson(in, FIELD_SALT, params->baseParams.salt.val, params->baseParams.salt… in ParsePakeResponseMessage()
/base/security/device_auth/services/frameworks/inc/
Dcommon_defs.h108 #define FIELD_SALT "salt" macro
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_server_task.c54 if (GetByteFromJson(in, FIELD_SALT, params->isoBaseParams.randPeer.val, in ParseIsoAuthClientBeginMsg()
82 if (AddByteToJson(data, FIELD_SALT, in AddGetTokenDataToJson()
Diso_auth_client_task.c48 if (AddByteToJson(data, FIELD_SALT, in AddBeginDataToJson()
177 if (GetByteFromJson(in, FIELD_SALT, params->isoBaseParams.randPeer.val, in ParseIsoAuthServerGetTokenMsg()
/base/security/device_auth/services/mk_agree/src/
Dmk_agree_task.c48 if (AddByteToJson(payload, FIELD_SALT, pakeTask->clientSalt, SALT_LEN) != HC_SUCCESS) { in GeneratePakeRequestPayload()
110 if (AddByteToJson(payload, FIELD_SALT, pakeTask->serverSalt, SALT_LEN) != HC_SUCCESS) { in GeneratePakeResponsePayload()
411 if (GetByteFromJson(payload, FIELD_SALT, pakeTask->clientSalt, SALT_LEN) != HC_SUCCESS) { in ProcessPakeMkAgreeRequest()
498 if (GetByteFromJson(payload, FIELD_SALT, pakeTask->serverSalt, SALT_LEN) != HC_SUCCESS) { in ProcessPakeMkAgreeResponse()
/base/security/device_auth/test/unittest/deviceauth/source/
Diso_auth_task_test.cpp371 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
766 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
792 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
819 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
847 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
875 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
905 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
934 (void)AddStringToJson(in, FIELD_SALT, TEST_SALT.c_str());
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_server_task.c105 GOTO_ERR_AND_SET_RET(AddByteToJson(data, FIELD_SALT, innerTask->params.pakeParams.salt.val, in PrepareAsyServerStepOneData()
Dpake_v2_auth_client_task.c160 GOTO_IF_ERR(GetByteFromJson(in, FIELD_SALT, innerTask->params.pakeParams.salt.val, in AsyAuthClientStepTwo()
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c45 #define FIELD_SALT "salt" macro
136 …if (GetByteFromJson(inputEvent, FIELD_SALT, params->salt.val, params->salt.length) != HC_SUCCESS) { in GetSaltFromInput()
686 if (AddByteToJson(json, FIELD_SALT, params->salt.val, params->salt.length) != HC_SUCCESS) { in EcSpekeServerStartRspBuildEvent()
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session.c351 int32_t res = GetByteFromJson(in, FIELD_SALT, baseParams->salt.val, baseParams->salt.length); in ParsePakeResponseMessage()
468 int32_t res = AddByteToJson(payload, FIELD_SALT, baseParams->salt.val, baseParams->salt.length); in PackagePakeResponseData()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_v2.c699 if (AddByteToJson(eventData, FIELD_SALT, impl->salt.val, impl->salt.length) != HC_SUCCESS) { in AddSessionInfoToEventData()
1232 if (GetByteFromJson(inputData, FIELD_SALT, impl->salt.val, impl->salt.length) != HC_SUCCESS) { in GetSessionSaltFromInput()