Home
last modified time | relevance | path

Searched refs:extraData (Results 1 – 7 of 7) sorted by relevance

/base/startup/init/test/unittest/ueventd/
Dueventd_event_unittest.cpp177 std::string GenerateUeventBuffer(struct Uevent &uevent, std::vector<std::string> &extraData) in GenerateUeventBuffer() argument
204 if (!extraData.empty()) { in GenerateUeventBuffer()
205 for (const auto &data : extraData) { in GenerateUeventBuffer()
248 std::vector<std::string> extraData{}; variable
249 auto ueventBuffer = GenerateUeventBuffer(uevent, extraData);
276 std::vector<std::string> extraData {}; variable
277 auto ueventBuffer = GenerateUeventBuffer(uevent, extraData);
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/
Dpake_v2_protocol_common.c68 HcFree(params->extraData.val); in DestroyPakeV2BaseParams()
69 params->extraData.val = NULL; in DestroyPakeV2BaseParams()
133 params->extraData.val = NULL; in FillDefaultValue()
134 params->extraData.length = 0; in FillDefaultValue()
486 …if ((params->extraData.val != NULL) && (memcpy_s(proofMsg->val + usedLen, proofMsg->length - usedL… in CombineProofMsg()
487 params->extraData.val, params->extraData.length) != EOK)) { in CombineProofMsg()
503 params->sharedSecret.length + params->innerKeyLen + params->extraData.length; in GenerateProof()
533 params->sharedSecret.length + params->innerKeyLen + params->extraData.length; in VerifyProof()
/base/update/updater/services/diffpatch/patch/
Dblocks_patch.cpp225 … BlockBuffer extraData = {newData_.data() + newOffset_, static_cast<size_t>(ctrlData.extraLength)}; in RestoreExtraData() local
226 int32_t ret = extraDataReader_->ReadData(extraData); in RestoreExtraData()
281 std::vector<uint8_t> extraData(ctrlData.extraLength); in RestoreExtraData() local
282 BlockBuffer extraBuffer = {extraData.data(), static_cast<size_t>(ctrlData.extraLength)}; in RestoreExtraData()
/base/security/device_auth/services/protocol/inc/pake_protocol/
Dpake_defs.h65 Uint8Buff extraData; member
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
Dpake_v1_protocol_common.c64 HcFree(params->extraData.val); in DestroyPakeV1BaseParams()
65 params->extraData.val = NULL; in DestroyPakeV1BaseParams()
139 params->extraData.val = NULL; in FillDefaultValue()
140 params->extraData.length = 0; in FillDefaultValue()
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session.c378 res = InitSingleParam(&(spekeSession->baseParam.extraData), versionStrLength); in FillExtraData()
383 … res = memcpy_s(spekeSession->baseParam.extraData.val, spekeSession->baseParam.extraData.length, in FillExtraData()
387 HcFree(spekeSession->baseParam.extraData.val); in FillExtraData()
388 spekeSession->baseParam.extraData.val = NULL; in FillExtraData()
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.cpp446 uint8_t* extraData = buffer.buffer + nameSize + sizeof(CentralDirEntry); in DecodeCentralDirEntry() local
447 uint16_t headerId = ReadLE16(extraData); in DecodeCentralDirEntry()
451 size_t unpackedSize = ReadLE64(extraData + sizeof(uint32_t)); in DecodeCentralDirEntry()
452 size_t packedSize = ReadLE64(extraData + sizeof(uint32_t) + sizeof(uint64_t)); in DecodeCentralDirEntry()
459 ReadLE64(extraData + BIG_SIZE_HEADER) : fileInfo_.fileInfo.headerOffset; in DecodeCentralDirEntry()