/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_manager_test.cpp | 202 AuthHandle authHandle = { .authId = AUTH_SEQ, .type = AUTH_LINK_TYPE_WIFI, }; variable 262 AuthHandle authHandle = {.authId = AUTH_SEQ_4, .type = AUTH_LINK_TYPE_BLE}; variable 300 AuthHandle authHandle = {.authId = AUTH_SEQ_5, .type = AUTH_LINK_TYPE_BLE}; variable 338 AuthHandle authHandle = {.authId = AUTH_SEQ_1, .type = AUTH_LINK_TYPE_WIFI}; variable 385 AuthHandle authHandle = { .authId = AUTH_SEQ }; variable 402 static void MyConnOpenedFunc(uint32_t requestId, AuthHandle authHandle) in MyConnOpenedFunc() 677 AuthHandle authHandle = { .authId = AUTH_SEQ, .type = AUTH_LINK_TYPE_WIFI }; variable 829 AuthHandle *authHandle = &authHandle1; variable 845 AuthHandle authHandle; variable 955 static void OnConnOpened(uint32_t requestId, AuthHandle authHandle) in OnConnOpened() [all …]
|
H A D | auth_other_test.cpp | 102 void OnDeviceVerifyPassTest(AuthHandle authHandle, const NodeInfo *info) in OnDeviceVerifyPassTest() 232 AuthHandle authHandle = { .authId = authSeq, .type = AUTH_LINK_TYPE_WIFI }; variable 258 AuthHandle authHandle = { .authId = authId, .type = AUTH_LINK_TYPE_BLE }; variable 324 static void OnConnOpenedTest(uint32_t requestId, AuthHandle authHandle) in OnConnOpenedTest() 672 AuthHandle authHandle = { .authId = 111, .type = AUTH_LINK_TYPE_WIFI }; variable 897 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 1041 AuthHandle authHandle; variable 1072 AuthHandle authHandle = { .type = AUTH_LINK_TYPE_WIFI, .authId = 0, }; variable 1169 AuthHandle authHandle = { .authId = 2, .type = 1, }; variable
|
H A D | auth_test.cpp | 920 AuthHandle authHandle = { .authId = authId, .type = AUTH_LINK_TYPE_BLE }; variable 976 static void AuthOnDataReceived(AuthHandle authHandle, const AuthTransData *data) in AuthOnDataReceived() 982 static void AuthOnDisconnected(AuthHandle authHandle) in AuthOnDisconnected() 1088 AuthHandle authHandle = { .authId = 0, .type = info.connInfo.type }; variable 1179 AuthHandle authHandle = { .authId = authId, .type = AUTH_LINK_TYPE_WIFI }; variable 1215 AuthHandle authHandle = { .authId = authId, .type = AUTH_LINK_TYPE_WIFI }; variable 1275 AuthHandle authHandle = { .authId = authId, .type = info.connInfo.type }; variable 1404 static void AuthOnDisconnectedTest(AuthHandle authHandle) in AuthOnDisconnectedTest() 1631 AuthHandle authHandle = { .authId = 0, .type = AUTH_LINK_TYPE_MAX }; variable 1641 static void OnConnOpenedTest(uint32_t requestId, AuthHandle authHandle) in OnConnOpenedTest() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/ |
H A D | trans_udp_nego_test.cpp | 223 AuthHandle authHandle = { .authId = AUTH_INVALID_ID, .type = AUTH_LINK_TYPE_WIFI }; variable 245 AuthHandle authHandle = { .authId = 0, .type = AUTH_LINK_TYPE_WIFI }; variable 261 AuthHandle authHandle = { .authId = INVALID_ID, .type = AUTH_LINK_TYPE_WIFI }; variable 366 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 393 AuthHandle authHandle = { .authId = 0, .type = AUTH_LINK_TYPE_WIFI }; variable 416 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 459 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 490 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 514 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 804 AuthHandle authHandle = { .authId = 0, .type = AUTH_LINK_TYPE_WIFI }; variable [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_device.c | 174 int32_t AuthDevicePostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthDevicePostTransData() 213 int32_t AuthDeviceEncrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *o… in AuthDeviceEncrypt() 236 int32_t AuthDeviceDecrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *o… in AuthDeviceDecrypt() 259 int32_t AuthDeviceGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo) in AuthDeviceGetConnInfo() 350 void AuthNotifyDeviceVerifyPassed(AuthHandle authHandle, const NodeInfo *nodeInfo) in AuthNotifyDeviceVerifyPassed() 374 void AuthNotifyDeviceDisconnect(AuthHandle authHandle) in AuthNotifyDeviceDisconnect() 609 …AuthHandle authHandle, const AuthConnInfo *connInfo, uint32_t requestId, const AuthConnCallback *c… in AuthStartReconnectDevice() 645 static bool AuthCheckSessionKey(AuthHandle *authHandle) in AuthCheckSessionKey() 666 AuthHandle authHandle = { .authId = AUTH_INVALID_ID, .type = info->type }; in AuthDeviceOpenConn() local 701 void AuthDeviceCloseConn(AuthHandle authHandle) in AuthDeviceCloseConn()
|
H A D | auth_interface.c | 113 static void NotifyTransDataReceived(AuthHandle authHandle, in NotifyTransDataReceived() 137 static void NotifyTransDisconnected(AuthHandle authHandle) in NotifyTransDisconnected() 146 static void NotifyTransException(AuthHandle authHandle, int32_t error) in NotifyTransException() 220 int32_t AuthCheckSessionKeyValidByAuthHandle(const AuthHandle *authHandle) in AuthCheckSessionKeyValidByAuthHandle() 259 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() 273 void AuthCloseConn(AuthHandle authHandle) in AuthCloseConn() 297 void AuthFreeConn(const AuthHandle *authHandle) in AuthFreeConn() 340 void AuthGetLatestIdByUuid(const char *uuid, AuthLinkType type, bool isMeta, AuthHandle *authHandle) in AuthGetLatestIdByUuid() 370 AuthHandle *authHandle) in AuthGetAuthHandleByIndex() 529 int32_t AuthEncrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *outData, in AuthEncrypt() [all …]
|
H A D | auth_manager.c | 310 AuthHandle authHandle = { .authId = authId, .type = type }; in RemoveAuthSessionKeyByIndex() local 315 void RemoveAuthManagerByAuthId(AuthHandle authHandle) in RemoveAuthManagerByAuthId() 766 AuthHandle authHandle = { .authId = auth->authId, .type = info->connInfo.type }; in AuthManagerSetSessionKey() local 910 AuthHandle authHandle = { .authId = auth->authId, .type = info->connInfo.type }; in AuthNotifyAuthPassed() local 922 static void NotifyAuthResult(AuthHandle authHandle, const AuthSessionInfo *info) in NotifyAuthResult() 970 AuthHandle authHandle = { .authId = auth->authId, .type = info->connInfo.type }; in AuthManagerSetAuthPassed() local 1373 AuthHandle authHandle = { .authId = authId, .type = GetConnType(connId) }; in HandleConnectionData() local 1410 AuthHandle authHandle = { .authId = AUTH_INVALID_ID, .type = connInfo->type }; in HandleDecryptFailData() local 1518 AuthHandle authHandle = { .authId = authIds[i], .type = GetConnType(connId) }; in HandleDisconnectedEvent() local 1547 void AuthHandleLeaveLNN(AuthHandle authHandle) in AuthHandleLeaveLNN() [all …]
|
H A D | auth_request.c | 220 void PerformVerifyCallback(uint32_t requestId, int32_t result, AuthHandle authHandle, const NodeInf… in PerformVerifyCallback() 251 AuthHandle authHandle = { .authId = authId, .type = request.connInfo.type }; in PerformAuthConnCallback() local
|
H A D | auth_lane.c | 188 int32_t DelAuthReqInfoByAuthHandle(const AuthHandle *authHandle) in DelAuthReqInfoByAuthHandle() 212 void AuthFreeLane(const AuthHandle *authHandle) in AuthFreeLane() 253 static void OnAuthConnOpenedSucc(uint32_t authRequestId, AuthHandle authHandle) in OnAuthConnOpenedSucc()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | lnn_connection_mock.h | 77 static void OnVerifyPassed(uint32_t requestId, AuthHandle authHandle, const NodeInfo *info) in OnVerifyPassed() 90 static void onConnOpened(uint32_t requestId, AuthHandle authHandle) in onConnOpened()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/src/ |
H A D | trans_auth_mock.cpp | 89 void AuthHandleLeaveLNN(AuthHandle authHandle) in AuthHandleLeaveLNN() 109 void AuthCloseConn(AuthHandle authHandle) in AuthCloseConn() 114 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData() 134 …d AuthGetLatestIdByUuid(const char *uuid, bool isIpConnection, bool isMeta, AuthHandle *authHandle) in AuthGetLatestIdByUuid() 164 int32_t AuthGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo) in AuthGetConnInfo() 200 int32_t AuthEncrypt(AuthHandle *authHandle, const uint8_t *inData, in AuthEncrypt() 206 int32_t AuthDecrypt(AuthHandle *authHandle, const uint8_t *inData, in AuthDecrypt()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation.c | 416 static int32_t SendUdpInfo(cJSON *replyMsg, AuthHandle authHandle, int64_t seq) in SendUdpInfo() 435 static int32_t SendReplyErrInfo(int errCode, char* errDesc, AuthHandle authHandle, int64_t seq) in SendReplyErrInfo() 458 static int32_t SendReplyUdpInfo(AppInfo *appInfo, AuthHandle authHandle, int64_t seq) in SendReplyUdpInfo() 482 static int32_t SetPeerDeviceIdByAuth(AuthHandle authHandle, AppInfo *appInfo) in SetPeerDeviceIdByAuth() 500 static void TransSetUdpConnectTypeByAuthType(int32_t *connectType, AuthHandle authHandle) in TransSetUdpConnectTypeByAuthType() 517 static int32_t ParseRequestAppInfo(AuthHandle authHandle, const cJSON *msg, AppInfo *appInfo) in ParseRequestAppInfo() 666 static void TransOnExchangeUdpInfoRequest(AuthHandle authHandle, int64_t seq, const cJSON *msg) in TransOnExchangeUdpInfoRequest() 721 static void TransOnExchangeUdpInfo(AuthHandle authHandle, int32_t isReply, int64_t seq, const cJSON… in TransOnExchangeUdpInfo() 730 static int32_t StartExchangeUdpInfo(UdpChannelInfo *channel, AuthHandle authHandle, int64_t seq) in StartExchangeUdpInfo() 783 static void UdpOnAuthConnOpened(uint32_t requestId, AuthHandle authHandle) in UdpOnAuthConnOpened() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_p2p.c | 370 static int32_t SendAuthData(AuthHandle authHandle, int32_t module, int32_t flag, int64_t seq, const… in SendAuthData() 406 static void OnAuthConnOpened(uint32_t requestId, AuthHandle authHandle) in OnAuthConnOpened() 507 static void SendVerifyP2pFailRsp(AuthHandle authHandle, int64_t seq, in SendVerifyP2pFailRsp() 538 static int32_t SendVerifyP2pRsp(AuthHandle authHandle, int32_t module, int32_t flag, int64_t seq, in SendVerifyP2pRsp() 577 AuthHandle authHandle) in PackAndSendVerifyP2pRsp() 593 static int32_t StartHmlListenerByUuid(AuthHandle authHandle, const char *myIp, int32_t *myPort) in StartHmlListenerByUuid() 614 static int32_t OnVerifyP2pRequest(AuthHandle authHandle, int64_t seq, const cJSON *json, bool isAut… in OnVerifyP2pRequest() 799 static void OnAuthMsgProc(AuthHandle authHandle, int32_t flags, int64_t seq, const cJSON *json) in OnAuthMsgProc() 811 static void OnAuthDataRecv(AuthHandle authHandle, const AuthTransData *data) in OnAuthDataRecv() 837 static void OnAuthChannelClose(AuthHandle authHandle) in OnAuthChannelClose() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_p2p_mock_test.cpp | 258 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 280 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 314 AuthHandle authHandle = { .authId = 1, .type = 0 }; variable 399 AuthHandle authHandle = { .authId = 1, .type = 0 }; variable 435 AuthHandle authHandle = { .authId = 1, .type = 0 }; variable 468 AuthHandle authHandle = { .authId = 1, .type = 0 }; variable 665 AuthHandle authHandle = { .authId = 1, .type = 0 }; variable 692 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable
|
H A D | trans_server_tcp_direct_test.cpp | 235 AuthHandle authHandle = { .authId = 0, .type = AUTH_LINK_TYPE_WIFI }; variable 252 AuthHandle authHandle = { .authId = TRANS_TEST_AUTH_SEQ, .type = AUTH_LINK_TYPE_WIFI }; variable 452 AuthHandle authHandle = { .authId = 1, .type = 1}; variable 513 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; variable 530 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable
|
H A D | trans_tcp_direct_p2p_test.cpp | 283 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 322 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 362 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 400 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable 422 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable
|
H A D | trans_tcp_direct_message_test.cpp | 370 AuthHandle authHandle = { .authId = 1, .type = 1 }; variable 386 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; variable 569 AuthHandle authHandle = { variable
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/ |
H A D | auth_mock.cpp | 39 void AuthHandleLeaveLNN(AuthHandle authHandle) in AuthHandleLeaveLNN() 75 int32_t AuthPostTransData(AuthHandle authHandle, const AuthTransData *dataInfo) in AuthPostTransData()
|
H A D | net_builder_mock_test.cpp | 156 AuthHandle authHandle = { .authId = 1, .type = AUTH_LINK_TYPE_WIFI }; variable
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager.c | 614 static void BleOffLineProcess(const AuthTransData *data, AuthHandle authHandle) in BleOffLineProcess() 688 static void WlanOffLineProcess(const AuthTransData *data, AuthHandle authHandle) in WlanOffLineProcess() 730 static void OnP2pNetworkingDataRecv(AuthHandle authHandle, const AuthTransData *data) in OnP2pNetworkingDataRecv() 797 static void OnWifiDirectSyncMsgRecv(AuthHandle authHandle, const AuthTransData *data) in OnWifiDirectSyncMsgRecv() 845 static void OnWifiDirectSyncAuthClose(AuthHandle authHandle) in OnWifiDirectSyncAuthClose() 1049 static int32_t GetWifiDirectAuthByNetworkId(const char *networkId, AuthHandle *authHandle) in GetWifiDirectAuthByNetworkId() 1069 AuthHandle authHandle = { in TrySendSyncInfoMsgByAuth() local 1192 static int32_t GetAuthHandleByNetworkId(const char *networkId, AuthHandle *authHandle) in GetAuthHandleByNetworkId() 1222 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; in LnnSendP2pSyncInfoMsg() local 1290 AuthHandle *authHandle = NULL; in LnnSendWifiOfflineInfoMsg() local
|
H A D | lnn_net_builder_init.c | 86 static void OnReAuthVerifyPassed(uint32_t requestId, AuthHandle authHandle, const NodeInfo *info) in OnReAuthVerifyPassed() 142 AuthHandle authHandle = { .authId = AUTH_INVALID_ID }; in OnReAuthVerifyFailed() local 536 static void OnDeviceVerifyPass(AuthHandle authHandle, const NodeInfo *info) in OnDeviceVerifyPass() 576 static void OnDeviceDisconnect(AuthHandle authHandle) in OnDeviceDisconnect()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/fuzztest/authdata_fuzzer/ |
H A D | authdata_fuzzer.cpp | 57 AuthHandle authHandle = { .authId = authId, .type = authLinkType}; in AuthDataFuzzTest() local 88 AuthHandle authHandle = { .authId = authId, .type = authLinkType}; in AuthCryptFuzzTest() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/ |
H A D | trans_tcp_direct_message_test_mock.cpp | 49 int32_t GetAuthHandleByChanId(int32_t channelId, AuthHandle *authHandle) in GetAuthHandleByChanId() 54 int32_t AuthEncrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *outData, in AuthEncrypt() 130 int32_t SetAuthHandleByChanId(int32_t channelId, AuthHandle *authHandle) in SetAuthHandleByChanId() 135 int32_t AuthDecrypt(AuthHandle *authHandle, const uint8_t *inData, uint32_t inLen, uint8_t *outData… in AuthDecrypt() 150 int32_t AuthGetConnInfo(AuthHandle authHandle, AuthConnInfo *connInfo) in AuthGetConnInfo()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder_test.cpp | 352 AuthHandle authHandle = { .authId = AUTH_ID, .type = AUTH_LINK_TYPE_WIFI }; variable 370 AuthHandle authHandle = { .authId = AUTH_ID, .type = AUTH_LINK_TYPE_WIFI }; variable
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/virtual/ |
H A D | auth_meta_ptk_proc_virtual.c | 26 int32_t AuthAddPtkSyncInfoForPendingList(AuthHandle authHandle, const NodeInfo *nodeInfo) in AuthAddPtkSyncInfoForPendingList()
|