Home
last modified time | relevance | path

Searched refs:hSession (Results 1 - 1 of 1) sorted by relevance

/base/update/updater/services/flashd/daemon/
H A Ddaemon.cpp97 bool HdcDaemon::RedirectToTask(HTaskInfo hTaskInfo, HSession hSession, const uint32_t channelId, in RedirectToTask() argument
150 bool HdcDaemon::HandDaemonAuth(HSession hSession, const uint32_t channelId, SessionHandShake &handshake) in HandDaemonAuth() argument
155 hSession->tokenRSA = Base::GetRandomString(SHA_DIGEST_LENGTH); in HandDaemonAuth()
157 handshake.buf = hSession->tokenRSA; in HandDaemonAuth()
159 Send(hSession->sessionId, channelId, CMD_KERNEL_HANDSHAKE, (uint8_t *)bufString.c_str(), bufString.size()); in HandDaemonAuth()
171 if (!HdcAuth::AuthVerify((uint8_t *)hSession->tokenRSA.c_str(), in HandDaemonAuth()
175 handshake.buf = hSession->tokenRSA; in HandDaemonAuth()
177 Send(hSession->sessionId, channelId, CMD_KERNEL_HANDSHAKE, (uint8_t *)bufString.c_str(), in HandDaemonAuth()
195 bool HdcDaemon::DaemonSessionHandshake(HSession hSession, const uint32_t channelId, uint8_t *payload, int payloadSize) in DaemonSessionHandshake() argument
204 hSession in DaemonSessionHandshake()
236 FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, uint8_t *payload, int payloadSize) FetchCommand() argument
309 NotifyInstanceSessionFree(HSession hSession, bool freeOrClear) NotifyInstanceSessionFree() argument
[all...]

Completed in 2 milliseconds