Home
last modified time | relevance | path

Searched refs:tmpData (Results 1 – 15 of 15) sorted by relevance

/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/
Dcfgetandcheck_fuzzer.cpp155 uint8_t *tmpData = static_cast<uint8_t *>(CfMalloc(size)); in CfObjectFuzzTest() local
156 if (tmpData == nullptr) { in CfObjectFuzzTest()
159 (void)memcpy_s(tmpData, size, data, size); in CfObjectFuzzTest()
165 CfFree(tmpData); in CfObjectFuzzTest()
172 CfFree(tmpData); in CfObjectFuzzTest()
177 TestObjectTypeFunc1(object, tmpData, size); in CfObjectFuzzTest()
178 TestObjectTypeFunc2(object, tmpData, size); in CfObjectFuzzTest()
179 TestObjectTypeFunc3(object, tmpData, size); in CfObjectFuzzTest()
180 TestObjectTypeFunc4(object, tmpData, size); in CfObjectFuzzTest()
181 TestObjectTypeFunc5(object, tmpData, size); in CfObjectFuzzTest()
[all …]
/base/security/certificate_framework/test/fuzztest/cfcreate_fuzzer/
Dcfcreate_fuzzer.cpp31 uint8_t *tmpData = const_cast<uint8_t *>(data); in CfCreateFuzzTest() local
33 CfObjectType objType = *(reinterpret_cast<CfObjectType *>(tmpData)); in CfCreateFuzzTest()
37 inStream.encodingFormat = *(reinterpret_cast<enum CfEncodingFormat *>(tmpData + usedSize)); in CfCreateFuzzTest()
39 inStream.len = *(reinterpret_cast<size_t *>(tmpData + usedSize)); in CfCreateFuzzTest()
48 (void)memcpy_s(inStream.data, inStream.len, tmpData + usedSize, inStream.len); in CfCreateFuzzTest()
/base/hiviewdfx/hiview/base/event_raw/base/
Draw_data.cpp87 uint8_t* tmpData = new(std::nothrow) uint8_t[dataLen]; in operator =() local
88 if (tmpData == nullptr) { in operator =()
91 auto ret = memcpy_s(tmpData, dataLen, data.GetData(), dataLen); in operator =()
94 delete[] tmpData; in operator =()
100 data_ = tmpData; in operator =()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data.cpp92 uint8_t* tmpData = new(std::nothrow) uint8_t[dataLen]; in operator =() local
93 if (tmpData == nullptr) { in operator =()
96 auto ret = memcpy_s(tmpData, dataLen, rawData, dataLen); in operator =()
99 delete[] tmpData; in operator =()
105 data_ = tmpData; in operator =()
/base/security/device_auth/frameworks/src/lite/
Dipc_dev_auth_proxy.c53 ioPtr = dataCtx->tmpData; in EncodeCallRequest()
69 dataLen = GetIpcIoDataLength((const IpcIo *)(dataCtx->tmpData)); in FinalCallRequest()
82 …bool ret = WriteBuffer(ioPtr, (const uint8_t *)(dataCtx->tmpData->bufferBase + dataCtx->ioBuffOffs… in FinalCallRequest()
Dipc_adapt.c1350 dataCache->tmpData = InitIpcDataCache(IPC_DATA_BUFF_MAX_SZ); in CreateCallCtx()
1352 if ((dataCache->data == NULL) || (dataCache->tmpData == NULL) || (dataCache->reply == NULL)) { in CreateCallCtx()
1373 if (dataCache->tmpData != NULL) { in DestroyCallCtx()
1374 HcFree((void *)dataCache->tmpData); in DestroyCallCtx()
1375 dataCache->tmpData = NULL; in DestroyCallCtx()
/base/security/device_auth/frameworks/inc/lite/
Dipc_dev_auth_proxy.h31 IpcIo *tmpData; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c253 uint8_t tmpData = 0; in CmParamsToParamSet() local
254 struct CmBlob tmpBlob = { sizeof(tmpData), &tmpData }; in CmParamsToParamSet()
/base/startup/init/services/param/trigger/
Dtrigger_checker.c93 char *tmpData = (char *)calculator->data + calculator->dataUnit * calculator->endIndex; in CalculatorPush() local
94 int ret = memcpy_s(tmpData, calculator->dataUnit, data, calculator->dataUnit); in CalculatorPush()
107 char *tmpData = (char *)calculator->data + calculator->dataUnit * (calculator->endIndex - 1); in CalculatorPop() local
108 int ret = memcpy_s(data, calculator->dataUnit, tmpData, calculator->dataUnit); in CalculatorPop()
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Dsm2_asy_key_generator_openssl.c326 const unsigned char *tmpData = (const unsigned char *)(pubKeyBlob->data); in ConvertEcPubKey() local
327 EC_KEY *ecKey = Openssl_d2i_EC_PUBKEY(NULL, &tmpData, pubKeyBlob->len); in ConvertEcPubKey()
344 const unsigned char *tmpData = (const unsigned char *)(priKeyBlob->data); in ConvertEcPriKey() local
345 EC_KEY *ecKey = Openssl_d2i_ECPrivateKey(NULL, &tmpData, priKeyBlob->len); in ConvertEcPriKey()
Ddsa_asy_key_generator_openssl.c753 const unsigned char *tmpData = (const unsigned char *)(pubKeyBlob->data); in ConvertDsaPubKey() local
754 DSA *dsa = Openssl_d2i_DSA_PUBKEY(NULL, &tmpData, pubKeyBlob->len); in ConvertDsaPubKey()
770 const unsigned char *tmpData = (const unsigned char *)(priKeyBlob->data); in ConvertDsaPriKey() local
771 DSA *dsa = Openssl_d2i_DSAPrivateKey(NULL, &tmpData, priKeyBlob->len); in ConvertDsaPriKey()
Decc_asy_key_generator_openssl.c1297 const unsigned char *tmpData = (const unsigned char *)(pubKeyBlob->data); in ConvertEcPubKey() local
1298 EC_KEY *ecKey = Openssl_d2i_EC_PUBKEY(NULL, &tmpData, pubKeyBlob->len); in ConvertEcPubKey()
1315 const unsigned char *tmpData = (const unsigned char *)(priKeyBlob->data); in ConvertEcPriKey() local
1316 EC_KEY *ecKey = Openssl_d2i_ECPrivateKey(NULL, &tmpData, priKeyBlob->len); in ConvertEcPriKey()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_ipc_serialization.c458 uint8_t tmpData = 0; in HksParamsToParamSet() local
459 struct HksBlob tmpBlob = { sizeof(tmpData), &tmpData }; in HksParamsToParamSet()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_encoded_test.cpp136 RawData tmpData = originEmpty; variable
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c547 uint8_t tmpData[HKS_TEMP_SIZE] = {0}; in CoreCipherInit() local
548 struct HksBlob tmpInData = { HKS_TEMP_SIZE, tmpData }; in CoreCipherInit()