/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
D | compatible_auth_sub_session_util.c | 40 if (GetIntFromJson(in, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in GetAuthModuleType() 82 if (GetIntFromJson(dataFromClient, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in CombineAuthConfirmData()
|
D | compatible_auth_sub_session_common.c | 99 if (AddIntToJson(paramsData, FIELD_AUTH_FORM, authForm) != HC_SUCCESS) { in AddGeneralParams() 219 if (GetIntFromJson(authParam, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in AddInfoToErrorData() 223 if (AddIntToJson(sendToPeer, FIELD_AUTH_FORM, authForm) != HC_SUCCESS) { in AddInfoToErrorData() 433 if (GetIntFromJson(authParam, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in ReturnFinishData()
|
D | compatible_auth_sub_session.c | 76 if (GetIntFromJson(dataFromClient, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in GetAuthInfoForServer()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/ |
D | auth_ack_response.c | 78 FIELD_AUTH_FORM, AUTH_FORM, FIELD_MESSAGE, AUTH_ACK_RESPONSE, FIELD_PAYLOAD, in make_auth_ack_response()
|
D | auth_ack_request.c | 78 FIELD_AUTH_FORM, AUTH_FORM, FIELD_MESSAGE, AUTH_ACK_REQUEST, FIELD_PAYLOAD, in make_auth_ack_request()
|
D | parsedata.h | 169 #define FIELD_AUTH_FORM "authForm" macro
|
D | auth_start_request.c | 105 FIELD_AUTH_FORM, AUTH_FORM, FIELD_MESSAGE, AUTH_START_REQUEST, FIELD_PAYLOAD, in make_request_json_str()
|
D | auth_start_response.c | 105 … FIELD_AUTH_FORM, AUTH_FORM, FIELD_MESSAGE, AUTH_START_RESPONSE, FIELD_PAYLOAD, FIELD_AUTH_DATA, in make_response_json_str()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_server_task.c | 95 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, innerTask->params.authForm), ret); in PrepareAsyServerStepOneData() 122 GOTO_IF_ERR(GetIntFromJson(in, FIELD_AUTH_FORM, &innerTask->params.authForm)); in AsyAuthServerStepOne() 191 GOTO_IF_ERR(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, task->params.authForm)); in SendFinalToOut()
|
D | pake_v2_auth_client_task.c | 55 GOTO_IF_ERR(GetIntFromJson(in, FIELD_AUTH_FORM, &innerTask->params.authForm)); in AsyAuthClientStepOne() 58 GOTO_IF_ERR(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, innerTask->params.authForm)); in AsyAuthClientStepOne() 118 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, innerTask->params.authForm), ret); in PrepareAsyClientStepTwoData()
|
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/iso_protocol_task/ |
D | iso_server_protocol_task.c | 66 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in PackageServerStartMessage() 145 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in PackDataForCalTokenServer()
|
D | iso_client_protocol_task.c | 58 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in IsoClientStartPackData() 126 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in PackDataForCalToken()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/ |
D | iso_auth_server_task.c | 111 if (AddIntToJson(sendToPeer, FIELD_AUTH_FORM, params->authForm) != CLIB_SUCCESS) { in PackIsoAuthServerGetTokenMsg() 210 if (AddIntToJson(sendToPeer, FIELD_AUTH_FORM, params->authForm) != CLIB_SUCCESS) { in PackCalTokenAndSessionKeyMsg()
|
D | iso_auth_client_task.c | 82 if (AddIntToJson(sendToPeer, FIELD_AUTH_FORM, params->authForm) != CLIB_SUCCESS) { in PackIsoAuthClientBeginMsg() 207 if (AddIntToJson(sendToPeer, FIELD_AUTH_FORM, params->authForm) != CLIB_SUCCESS) { in PackIsoAuthClientGetTokenMsg()
|
D | iso_auth_task_common.c | 219 if (GetIntFromJson(in, FIELD_AUTH_FORM, ¶ms->authForm) != CLIB_SUCCESS) { in InitIsoAuthParams()
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_task_common.c | 42 res = AddIntToJson(sendToPeer, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED); in ConstructOutJson() 88 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToSelf, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in SendResultToSelf()
|
/base/security/device_auth/services/authenticators/src/account_related/ |
D | account_task_main.c | 75 if (AddIntToJson(sendToSelf, FIELD_AUTH_FORM, ACCOUNT_MODULE) != CLIB_SUCCESS) { in AccountSendErrMsgToOut()
|
/base/security/device_auth/interfaces/inner_api/ |
D | device_auth.h | 48 #define FIELD_AUTH_FORM "authForm" macro
|
/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_task_common.c | 64 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToSelf, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in DasSendErrorToOut() 87 if (AddIntToJson(sendToSelf, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED) != 0) { in DasSendErrMsgToSelf()
|
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/ |
D | iso_task_common.c | 115 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToPeer, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), ret); in GenerateEncResult() 132 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToSelf, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in SendResultToFinalSelf() 177 … GOTO_ERR_AND_SET_RET(AddIntToJson(sendToSelf, FIELD_AUTH_FORM, AUTH_FORM_ACCOUNT_UNRELATED), res); in GenEncResult()
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/ |
D | account_related_group_auth.c | 362 if (GetIntFromJson(data, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in QueryAuthGroupForServer() 674 if (GetIntFromJson(authParam, FIELD_AUTH_FORM, &authForm) != HC_SUCCESS) { in AccountOnFinishToSelf()
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
D | compatible_bind_sub_session.c | 688 (void)GetIntFromJson(jsonParams, FIELD_AUTH_FORM, &authForm); in AddRecvModuleDataToParams() 698 if (AddIntToJson(moduleParams, FIELD_AUTH_FORM, authForm) != HC_SUCCESS) { in AddRecvModuleDataToParams()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | iso_auth_task_test.cpp | 77 (void)AddIntToJson(inJson, FIELD_AUTH_FORM, AUTH_FORM_IDENTICAL_ACCOUNT); 217 (void)AddIntToJson(inJson, FIELD_AUTH_FORM, AUTH_FORM_IDENTICAL_ACCOUNT); in CreateServerTask() 583 (void)AddIntToJson(inJson, FIELD_AUTH_FORM, AUTH_FORM_IDENTICAL_ACCOUNT); in CreateClientTask()
|
/base/security/device_auth/services/ |
D | device_auth.c | 826 if (GetIntFromJson(receivedMsg, FIELD_AUTH_FORM, &opCode) != HC_SUCCESS) { in OpenServerAuthSession()
|