Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
H A Dsession.cpp840 PayloadProtect protectBuf; // noneed convert to big-endian in Send() local
841 protectBuf.channelId = channelId; in Send()
842 protectBuf.commandFlag = commandFlag; in Send()
843 protectBuf.checkSum = (ENABLE_IO_CHECKSUM && dataSize > 0) ? Base::CalcCheckSum(data, dataSize) : 0; in Send()
844 protectBuf.vCode = payloadProtectStaticVcode; in Send()
845 string s = SerialStruct::SerializeToString(protectBuf); in Send()
893 PayloadProtect protectBuf = {}; in DecryptPayload() local
897 SerialStruct::ParseFromString(protectBuf, encString); in DecryptPayload()
898 if (protectBuf.vCode != payloadProtectStaticVcode) { in DecryptPayload()
903 if (ENABLE_IO_CHECKSUM && protectBuf in DecryptPayload()
[all...]

Completed in 2 milliseconds