Home
last modified time | relevance | path

Searched refs:returnSendMsg (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/
H A Dauth_sub_session.c61 static int32_t StartAuthSubSession(AuthSubSession *self, CJson **returnSendMsg) in StartAuthSubSession() argument
63 if ((self == NULL) || (returnSendMsg == NULL)) { in StartAuthSubSession()
69 int32_t res = protocol->start(protocol, returnSendMsg); in StartAuthSubSession()
77 …nt32_t ProcessAuthSubSession(AuthSubSession *self, const CJson *receviedMsg, CJson **returnSendMsg) in ProcessAuthSubSession() argument
79 if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL)) { in ProcessAuthSubSession()
85 int32_t res = protocol->process(protocol, receviedMsg, returnSendMsg); in ProcessAuthSubSession()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
H A Dexpand_sub_session.c366 static int32_t PackSendMsg(ExpandSubSessionImpl *impl, CJson *sendCmdList, CJson **returnSendMsg) in PackSendMsg() argument
378 *returnSendMsg = sendMsg; in PackSendMsg()
414 static int32_t StartExpandSubSession(ExpandSubSession *self, CJson **returnSendMsg) in StartExpandSubSession() argument
416 if ((self == NULL) || (returnSendMsg == NULL)) { in StartExpandSubSession()
437 (void)PackSendMsg(impl, sendCmdList, returnSendMsg); in StartExpandSubSession()
442 res = PackSendMsg(impl, sendCmdList, returnSendMsg); in StartExpandSubSession()
451 CJson **returnSendMsg) in ProcessExpandSubSession() argument
453 if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL)) { in ProcessExpandSubSession()
476 (void)PackSendMsg(impl, sendCmdList, returnSendMsg); in ProcessExpandSubSession()
/ohos5.0/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/
H A Dexpand_sub_session.h32 int32_t (*start)(ExpandSubSession *self, CJson **returnSendMsg);
33 int32_t (*process)(ExpandSubSession *self, const CJson *receviedMsg, CJson **returnSendMsg);
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dauth_code_import.c461 static int32_t SwitchState(BaseCmd *self, const CJson *receviedMsg, CJson **returnSendMsg, CmdState… in SwitchState() argument
466 int32_t res = STATE_MACHINE[i].stateProcessFunc(self, receviedMsg, returnSendMsg); in SwitchState()
468 STATE_MACHINE[i].exceptionHandleFunc(res, returnSendMsg); in SwitchState()
482 static int32_t StartAuthCodeImportCmd(BaseCmd *self, CJson **returnSendMsg) in StartAuthCodeImportCmd() argument
484 if ((self == NULL) || (returnSendMsg == NULL)) { in StartAuthCodeImportCmd()
493 return SwitchState(self, NULL, returnSendMsg, &state); in StartAuthCodeImportCmd()
497 CJson **returnSendMsg, CmdState *returnState) in ProcessAuthCodeImportCmd() argument
499 … if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL) || (returnState == NULL)) { in ProcessAuthCodeImportCmd()
507 return SwitchState(self, receviedMsg, returnSendMsg, returnState); in ProcessAuthCodeImportCmd()
H A Dpub_key_exchange.c626 static int32_t SwitchState(BaseCmd *self, const CJson *receviedMsg, CJson **returnSendMsg, CmdState… in SwitchState() argument
631 int32_t res = STATE_MACHINE[i].stateProcessFunc(self, receviedMsg, returnSendMsg); in SwitchState()
633 STATE_MACHINE[i].exceptionHandleFunc(res, returnSendMsg); in SwitchState()
647 static int32_t StartPubKeyExchangeCmd(BaseCmd *self, CJson **returnSendMsg) in StartPubKeyExchangeCmd() argument
649 if ((self == NULL) || (returnSendMsg == NULL)) { in StartPubKeyExchangeCmd()
658 return SwitchState(self, NULL, returnSendMsg, &state); in StartPubKeyExchangeCmd()
662 CJson **returnSendMsg, CmdState *returnState) in ProcessPubKeyExchangeCmd() argument
664 … if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL) || (returnState == NULL)) { in ProcessPubKeyExchangeCmd()
672 return SwitchState(self, receviedMsg, returnSendMsg, returnState); in ProcessPubKeyExchangeCmd()
H A Dsave_trusted_info.c730 static int32_t SwitchState(BaseCmd *self, const CJson *receviedMsg, CJson **returnSendMsg, CmdState… in SwitchState() argument
735 int32_t res = STATE_MACHINE[i].stateProcessFunc(self, receviedMsg, returnSendMsg); in SwitchState()
737 STATE_MACHINE[i].exceptionHandleFunc(res, returnSendMsg); in SwitchState()
751 static int32_t StartSaveTrustedInfoCmd(BaseCmd *self, CJson **returnSendMsg) in StartSaveTrustedInfoCmd() argument
753 if ((self == NULL) || (returnSendMsg == NULL)) { in StartSaveTrustedInfoCmd()
762 return SwitchState(self, NULL, returnSendMsg, &state); in StartSaveTrustedInfoCmd()
766 CJson **returnSendMsg, CmdState *returnState) in ProcessSaveTrustedInfoCmd() argument
768 … if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL) || (returnState == NULL)) { in ProcessSaveTrustedInfoCmd()
776 return SwitchState(self, receviedMsg, returnSendMsg, returnState); in ProcessSaveTrustedInfoCmd()
/ohos5.0/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/
H A Dauth_sub_session.h32 int32_t (*start)(AuthSubSession *self, CJson **returnSendMsg);
33 int32_t (*process)(AuthSubSession *self, const CJson *receviedMsg, CJson **returnSendMsg);
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Diso_protocol.c722 …int32_t IsoProtocolSwitchState(BaseProtocol *self, const CJson *receviedMsg, CJson **returnSendMsg) in IsoProtocolSwitchState() argument
727 … int32_t res = STATE_MACHINE[i].stateProcessFunc((IsoProtocol *)self, receviedMsg, returnSendMsg); in IsoProtocolSwitchState()
729 STATE_MACHINE[i].exceptionHandleFunc(res, returnSendMsg); in IsoProtocolSwitchState()
742 static int32_t StartIsoProtocol(BaseProtocol *self, CJson **returnSendMsg) in StartIsoProtocol() argument
744 if ((self == NULL) || (returnSendMsg == NULL)) { in StartIsoProtocol()
752 return IsoProtocolSwitchState(self, NULL, returnSendMsg); in StartIsoProtocol()
755 …tic int32_t ProcessIsoProtocol(BaseProtocol *self, const CJson *receviedMsg, CJson **returnSendMsg) in ProcessIsoProtocol() argument
757 if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL)) { in ProcessIsoProtocol()
765 return IsoProtocolSwitchState(self, receviedMsg, returnSendMsg); in ProcessIsoProtocol()
H A Ddl_speke_protocol.c983 …2_t DlSpekeProtocolSwitchState(BaseProtocol *self, const CJson *receviedMsg, CJson **returnSendMsg) in DlSpekeProtocolSwitchState() argument
988 …t32_t res = STATE_MACHINE[i].stateProcessFunc((DlSpekeProtocol *)self, receviedMsg, returnSendMsg); in DlSpekeProtocolSwitchState()
990 STATE_MACHINE[i].exceptionHandleFunc(res, returnSendMsg); in DlSpekeProtocolSwitchState()
1003 static int32_t StartDlSpekeProtocol(BaseProtocol *self, CJson **returnSendMsg) in StartDlSpekeProtocol() argument
1005 if ((self == NULL) || (returnSendMsg == NULL)) { in StartDlSpekeProtocol()
1013 return DlSpekeProtocolSwitchState(self, NULL, returnSendMsg); in StartDlSpekeProtocol()
1016 …int32_t ProcessDlSpekeProtocol(BaseProtocol *self, const CJson *receviedMsg, CJson **returnSendMsg) in ProcessDlSpekeProtocol() argument
1018 if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL)) { in ProcessDlSpekeProtocol()
1026 return DlSpekeProtocolSwitchState(self, receviedMsg, returnSendMsg); in ProcessDlSpekeProtocol()
H A Dec_speke_protocol.c966 …2_t EcSpekeProtocolSwitchState(BaseProtocol *self, const CJson *receviedMsg, CJson **returnSendMsg) in EcSpekeProtocolSwitchState() argument
971 …t32_t res = STATE_MACHINE[i].stateProcessFunc((EcSpekeProtocol *)self, receviedMsg, returnSendMsg); in EcSpekeProtocolSwitchState()
973 STATE_MACHINE[i].exceptionHandleFunc(res, returnSendMsg); in EcSpekeProtocolSwitchState()
986 static int32_t StartEcSpekeProtocol(BaseProtocol *self, CJson **returnSendMsg) in StartEcSpekeProtocol() argument
988 if ((self == NULL) || (returnSendMsg == NULL)) { in StartEcSpekeProtocol()
996 return EcSpekeProtocolSwitchState(self, NULL, returnSendMsg); in StartEcSpekeProtocol()
999 …int32_t ProcessEcSpekeProtocol(BaseProtocol *self, const CJson *receviedMsg, CJson **returnSendMsg) in ProcessEcSpekeProtocol() argument
1001 if ((self == NULL) || (receviedMsg == NULL) || (returnSendMsg == NULL)) { in ProcessEcSpekeProtocol()
1009 return EcSpekeProtocolSwitchState(self, receviedMsg, returnSendMsg); in ProcessEcSpekeProtocol()