Home
last modified time | relevance | path

Searched refs:ReadData (Results 1 - 25 of 40) sorted by relevance

12

/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksbnexpmod_fuzzer/
H A Dhksbnexpmod_fuzzer.cpp39 struct HksBlob x = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob a = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI()
41 struct HksBlob e = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI()
42 struct HksBlob n = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportwrappedkey_fuzzer/
H A Dhksimportwrappedkey_fuzzer.cpp39 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob wrappingKeyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
41 uint32_t wrappedKeySize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI()
45 struct HksBlob wrappedKeyData = { wrappedKeySize, ReadData<uint8_t *>(data, size, wrappedKeySize) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportkey_fuzzer/
H A Dhksimportkey_fuzzer.cpp38 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
39 uint32_t pubKeySize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI()
43 struct HksBlob pubKey = { pubKeySize, ReadData<uint8_t *>(data, size, pubKeySize) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksmac_fuzzer/
H A Dhksmac_fuzzer.cpp38 struct HksBlob key = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob srcData = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob mac = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksdecrypt_fuzzer/
H A Dhksdecrypt_fuzzer.cpp38 struct HksBlob key = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob cipherText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob plainText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksverify_fuzzer/
H A Dhksverify_fuzzer.cpp38 struct HksBlob key = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob srcData = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob signature = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksagreekey_fuzzer/
H A Dhksagreekey_fuzzer.cpp38 struct HksBlob privateKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob peerPublicKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob agreedKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksencrypt_fuzzer/
H A Dhksencrypt_fuzzer.cpp38 struct HksBlob key = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob plainText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob cipherText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkssign_fuzzer/
H A Dhkssign_fuzzer.cpp38 struct HksBlob key = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob srcData = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
40 struct HksBlob signature = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksfinish_fuzzer/
H A Dhksfinish_fuzzer.cpp36 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI()
37 uint32_t inDataSize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI()
41 struct HksBlob inData = { inDataSize, ReadData<uint8_t *>(data, size, inDataSize) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksupdate_fuzzer/
H A Dhksupdate_fuzzer.cpp37 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI()
38 uint32_t inDataSize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI()
42 struct HksBlob inData = { inDataSize, ReadData<uint8_t *>(data, size, inDataSize) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/
H A Dhkshash_fuzzer.cpp37 uint32_t srcDataSize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI()
41 struct HksBlob srcData = { srcDataSize, ReadData<uint8_t *>(data, size, srcDataSize) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksrename_fuzzer/
H A Dhksrename_fuzzer.cpp38 struct HksBlob oldKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob newKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksinit_fuzzer/
H A Dhksinit_fuzzer.cpp38 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksderivekey_fuzzer/
H A Dhksderivekey_fuzzer.cpp38 struct HksBlob mainKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
39 struct HksBlob derivedKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/
H A Dhks_fuzz_util.cpp25 HksParam *p = ReadData<HksParam *>(data, size, sizeof(HksParam)); in ConstructHksParams()
33 p->blob.data = ReadData<uint8_t *>(data, size, p->blob.size); in ConstructHksParams()
H A Dhks_fuzz_util.h29 inline ReadType ReadData(uint8_t *&data, size_t &size, uint32_t readSize) in ReadData() function
/base/update/updater/services/diffpatch/patch/
H A Dblocks_patch.cpp165 int32_t ret = controlDataReader_->ReadData(info); in ReadControlData()
171 ret = controlDataReader_->ReadData(info); in ReadControlData()
177 ret = controlDataReader_->ReadData(info); in ReadControlData()
204 int32_t ret = diffDataReader_->ReadData(diffData); in RestoreDiffData()
224 int32_t ret = extraDataReader_->ReadData(extraData); in RestoreExtraData()
239 int32_t ret = diffDataReader_->ReadData(diffBuffer); in RestoreDiffData()
281 int32_t ret = extraDataReader_->ReadData(extraBuffer); in RestoreExtraData()
/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algorithm.cpp25 int32_t PkgAlgorithm::ReadData(const PkgStreamPtr inStream, size_t offset, PkgBuffer &buffer, in ReadData() function in Hpackage::PkgAlgorithm
76 ret = ReadData(inStream, srcOffset, buffer, remainSize, readLen); in Pack()
122 ret = ReadData(inStream, srcOffset, buffer, remainSize, readLen); in Unpack()
169 ret = ReadData(inStream, srcOffset, buffer, remainSize, readLen); in UnpackWithVerify()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksgeneratekey_fuzzer/
H A Dhksgeneratekey_fuzzer.cpp39 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksabort_fuzzer/
H A Dhksabort_fuzzer.cpp36 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkskeyexist_fuzzer/
H A Dhkskeyexist_fuzzer.cpp37 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksdeletekey_fuzzer/
H A Dhksdeletekey_fuzzer.cpp37 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksgeneraterandom_fuzzer/
H A Dhksgeneraterandom_fuzzer.cpp36 struct HksBlob random = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
/base/update/updater/services/diffpatch/bzip2/
H A Dbzip2_adapter.h76 virtual int32_t ReadData(BlockBuffer &info) = 0;
93 int32_t ReadData(BlockBuffer &info) override;

Completed in 7 milliseconds

12