/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/src/ |
H A D | stream_adaptor.cpp | 49 return sessionKey_; in GetSessionKey() 89 if (sessionKey_.first == nullptr) { in InitAdaptor() 90 sessionKey_.first = new uint8_t[param->keyLen]; in InitAdaptor() 92 if (memcpy_s(sessionKey_.first, param->keyLen, param->sessionKey, param->keyLen) != EOK) { in InitAdaptor() 97 sessionKey_.second = param->keyLen; in InitAdaptor() 109 if (sessionKey_.first != nullptr) { in ReleaseAdaptor() 110 (void)memset_s(sessionKey_.first, sessionKey_.second, 0, sessionKey_.second); in ReleaseAdaptor() 111 delete [] sessionKey_.first; in ReleaseAdaptor() 113 sessionKey_.first = nullptr; in ReleaseAdaptor()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/include/ |
H A D | stream_adaptor.h | 36 if (sessionKey_.first != nullptr) { in ~StreamAdaptor() 37 (void)memset_s(sessionKey_.first, sessionKey_.second, 0, sessionKey_.second); in ~StreamAdaptor() 38 delete [] sessionKey_.first; in ~StreamAdaptor() 40 sessionKey_.first = nullptr; in ~StreamAdaptor() 67 std::pair<uint8_t*, uint32_t> sessionKey_ = std::make_pair(nullptr, 0); variable
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | i_stream_socket.h | 59 if (sessionKey_.first != nullptr) { in ~IStreamSocket() 60 (void)memset_s(sessionKey_.first, sessionKey_.second, 0, sessionKey_.second); in ~IStreamSocket() 61 delete [] sessionKey_.first; in ~IStreamSocket() 63 sessionKey_.first = nullptr; in ~IStreamSocket() 148 std::pair<uint8_t*, uint32_t> sessionKey_ = std::make_pair(nullptr, 0); variable
|
H A D | vtp_stream_socket.cpp | 428 sessionKey_.second = sessionKey.second; in CreateClient() 429 if (sessionKey_.first == nullptr) { in CreateClient() 430 sessionKey_.first = new uint8_t[sessionKey_.second]; in CreateClient() 432 … if (memcpy_s(sessionKey_.first, sessionKey_.second, sessionKey.first, sessionKey.second) != EOK) { in CreateClient() 492 sessionKey_.second = sessionKey.second; in CreateServer() 493 if (sessionKey_.first == nullptr) { in CreateServer() 494 sessionKey_.first = new uint8_t[sessionKey_.second]; in CreateServer() 496 … if (memcpy_s(sessionKey_.first, sessionKey_.second, sessionKey.first, sessionKey.second) != EOK) { in CreateServer() 1551 if (memcpy_s(cipherKey.key, SESSION_KEY_LENGTH, sessionKey_.first, sessionKey_.second) != EOK) { in Encrypt() 1579 if (memcpy_s(cipherKey.key, SESSION_KEY_LENGTH, sessionKey_.first, sessionKey_.second) != EOK) { in Decrypt()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/interfaces/ |
H A D | access_control_profile.cpp | 33 sessionKey_(""), in AccessControlProfile() 80 return sessionKey_; in GetSessionKey() 85 sessionKey_ = sessionKey; in SetSessionKey() 205 WRITE_HELPER_RET(parcel, String, sessionKey_, false); in Marshalling() 225 READ_HELPER_RET(parcel, String, sessionKey_, false); in UnMarshalling() 250 cJSON_AddStringToObject(json, SESSION_KEY.c_str(), sessionKey_.c_str()); in dump()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/interfaces/ |
H A D | access_control_profile.h | 72 std::string sessionKey_; variable
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/authentication/ |
H A D | dm_auth_manager.h | 584 const uint8_t *sessionKey_ = nullptr; variable
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/include/ |
H A D | key_command_handler.h | 374 std::string sessionKey_ { };
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 773 sessionKey_ = "Base" + std::to_string(item.GetDownTime()); in HandleKnuckleGestureTouchDown() 876 … MMI_HILOGI("isStartBase_:%{public}d, sessionKey_:%{public}s", isStartBase_, sessionKey_.c_str()); in ProcessKnuckleGestureTouchUp() 884 ability.params.emplace(std::make_pair("session_id", sessionKey_)); in ProcessKnuckleGestureTouchUp()
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | dm_auth_manager.cpp | 2184 sessionKey_ = sessionKey; in AuthDeviceSessionKey()
|