/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/ |
D | cfgetandcheck_fuzzer.cpp | 155 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/ |
D | cfcreate_fuzzer.cpp | 31 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/ |
D | raw_data.cpp | 87 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/ |
D | raw_data.cpp | 92 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/ |
D | ipc_dev_auth_proxy.c | 53 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()
|
D | ipc_adapt.c | 1350 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/ |
D | ipc_dev_auth_proxy.h | 31 IpcIo *tmpData; member
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client_serialization.c | 253 uint8_t tmpData = 0; in CmParamsToParamSet() local 254 struct CmBlob tmpBlob = { sizeof(tmpData), &tmpData }; in CmParamsToParamSet()
|
/base/startup/init/services/param/trigger/ |
D | trigger_checker.c | 93 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/ |
D | sm2_asy_key_generator_openssl.c | 326 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()
|
D | dsa_asy_key_generator_openssl.c | 753 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()
|
D | ecc_asy_key_generator_openssl.c | 1297 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/ |
D | hks_ipc_serialization.c | 458 uint8_t tmpData = 0; in HksParamsToParamSet() local 459 struct HksBlob tmpBlob = { sizeof(tmpData), &tmpData }; in HksParamsToParamSet()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_encoded_test.cpp | 136 RawData tmpData = originEmpty; variable
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_core_service_three_stage.c | 547 uint8_t tmpData[HKS_TEMP_SIZE] = {0}; in CoreCipherInit() local 548 struct HksBlob tmpInData = { HKS_TEMP_SIZE, tmpData }; in CoreCipherInit()
|