Home
last modified time | relevance | path

Searched refs:checkSum (Results 1 – 11 of 11) sorted by relevance

/developtools/smartperf_host/ide/src/hdc/message/
DPayloadProtect.ts25 constructor(channelId: number, commandFlag: number, checkSum: number, vCode: number) {
29 this._checkSum = checkSum;
53 get checkSum(): number { method in PayloadProtect
57 set checkSum(value: number) { method in PayloadProtect
/developtools/smartperf_host/ide/test/hdc/message/
DPayloadProtect.test.ts43 expect(payloadProtect.checkSum).toBeUndefined();
47 payloadProtect.checkSum = true;
48 expect(payloadProtect.checkSum).toBeTruthy();
/developtools/smartperf_host/ide/src/hdc/common/
DSerialize.ts46 let checkSum = this.serializeU8(3, payloadProtect.checkSum);
48 …let mergedArray = new Uint8Array(channelId.length + commandFlag.length + checkSum.length + vCode.l…
51 mergedArray.set(checkSum, channelId.length + commandFlag.length);
52 mergedArray.set(vCode, channelId.length + commandFlag.length + checkSum.length);
281 let checkSum = this.parseU8(checkSumDataView, 1);
290 return new PayloadProtect(channelId, commandFlag, checkSum, vCode);
/developtools/smartperf_host/ide/src/hdc/transmission/
DDataProcessing.ts34 private static checkSum: number = 0; property in DataProcessing
91 DataProcessing.checkSum,
/developtools/hdc/hdc_rust/src/cffi/
Dserial_struct.cpp55 .checkSum = value.checkSum, in SerializePayloadProtect()
175 .checkSum = pp.checkSum, in ParsePayloadProtect()
Dserial_struct.h52 uint8_t checkSum; // enable it will be lose about 20% speed member
103 uint8_t checkSum; // enable it will be lose about 20% speed member
236 Field<fieldThree, &BaseStruct::PayloadProtect::checkSum>("checkSum"),
/developtools/smartperf_host/ide/test/hdc/common/
DSerialize.test.ts33 checkSum: 1,
/developtools/hdc/src/common/
Dserial_struct.h94 … Field<fieldThree, &Hdc::HdcSessionBase::PayloadProtect::checkSum>("checkSum"),
Dsession.h56 uint8_t checkSum; // enable it will be lose about 20% speed member
Dsession.cpp827 …protectBuf.checkSum = (ENABLE_IO_CHECKSUM && dataSize > 0) ? Base::CalcCheckSum(data, dataSize) : … in Send()
887 …if (ENABLE_IO_CHECKSUM && protectBuf.checkSum != 0 && (protectBuf.checkSum != Base::CalcCheckSum(d… in DecryptPayload()
/developtools/packing_tool/adapter/ohos/
DCompressor.java590 private static byte[] checkSum(String filename) throws BundleException { in checkSum() method in Compressor
614 byte[] byteSum = checkSum(filePath); in getSHA256()