Home
last modified time | relevance | path

Searched defs:srcData (Results 1 – 25 of 55) sorted by relevance

123

/base/security/crypto_framework/test/unittest/src/
Dcrypto_dsa_sign_test.cpp532 HcfBlob srcData = { variable
568 HcfBlob srcData = { variable
613 HcfBlob srcData = { variable
654 HcfBlob srcData = { variable
695 HcfBlob srcData = { variable
736 HcfBlob srcData = { variable
781 HcfBlob srcData = { variable
822 HcfBlob srcData = { variable
863 HcfBlob srcData = { variable
900 HcfBlob srcData = { variable
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_serialization.c123 static int32_t GetKeyAndParamSetFromBuffer(const struct HksBlob *srcData, struct HksBlob *keyAlias, in GetKeyAndParamSetFromBuffer()
135 static int32_t MallocBlobFromBuffer(const struct HksBlob *srcData, struct HksBlob *blob, uint32_t *… in MallocBlobFromBuffer()
154 static int32_t MallocParamSetFromBuffer(const struct HksBlob *srcData, struct HksParamSet **paramSe… in MallocParamSetFromBuffer()
172 int32_t HksGenerateKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, in HksGenerateKeyUnpack()
200 int32_t HksImportKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, struct HksParam… in HksImportKeyUnpack()
210 int32_t HksImportWrappedKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, in HksImportWrappedKeyUnpack()
226 int32_t HksExportPublicKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, struct Hk… in HksExportPublicKeyUnpack()
238 int32_t HksGetKeyParamSetUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, in HksGetKeyParamSetUnpack()
251 static int32_t SignVerifyMacUnpack(const struct HksBlob *srcData, struct HksBlob *key, struct HksPa… in SignVerifyMacUnpack()
263 int32_t HksSignUnpack(const struct HksBlob *srcData, struct HksBlob *key, struct HksParamSet **para… in HksSignUnpack()
[all …]
Dhks_ipc_service.c55 void HksIpcServiceGenerateKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGenerateKey()
97 void HksIpcServiceImportKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceImportKey()
122 void HksIpcServiceImportWrappedKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceImportWrappedKey()
148 void HksIpcServiceExportPublicKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceExportPublicKey()
177 void HksIpcServiceDeleteKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceDeleteKey()
195 void HksIpcServiceGetKeyParamSet(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGetKeyParamSet()
228 void HksIpcServiceKeyExist(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceKeyExist()
247 void HksIpcServiceGenerateRandom(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGenerateRandom()
291 void HksIpcServiceSign(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceSign()
322 void HksIpcServiceVerify(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceVerify()
[all …]
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/
Dcm_fuzz_test_common.cpp22 bool GetUintFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, uint32_t *outVal) in GetUintFromBuffer()
35 bool GetCmBlobFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CmBlob *outB… in GetCmBlobFromBuffer()
51 bool GetCertListFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertList *… in GetCertListFromBuffer()
65 bool GetCertInfoFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertInfo *… in GetCertInfoFromBuffer()
260 bool ConstructParamSet(uint8_t *srcData, uint32_t *remainSize, in ConstructParamSet()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_mac_test.cpp83 static int32_t ConstructDataToBlob(struct HksBlob **srcData, struct HksBlob **macData, in ConstructDataToBlob()
102 static int32_t Mac(const struct HksBlob *key, const struct HksBlob *srcData, struct HksBlob *macDat… in Mac()
158 struct HksBlob *srcData = NULL; in BaseTestMac() local
Dhks_hash_test.cpp79 struct HksBlob *srcData = NULL; variable
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_mac_test.cpp81 static int32_t ConstructDataToBlob(struct HksBlob **srcData, struct HksBlob **macData, in ConstructDataToBlob()
100 static int32_t Mac(const struct HksBlob *key, const struct HksBlob *srcData, struct HksBlob *macDat… in Mac()
156 struct HksBlob *srcData = NULL; in BaseTestMac() local
Dhks_hash_test.cpp79 struct HksBlob *srcData = NULL; variable
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_mac_test.c83 static int32_t ConstructDataToBlob(struct HksBlob **srcData, struct HksBlob **macData, in ConstructDataToBlob()
102 static int32_t Mac(const struct HksBlob *key, const struct HksBlob *srcData, struct HksBlob *macDat… in Mac()
158 struct HksBlob *srcData = NULL; in BaseTestMac() local
Dhks_hash_test.c83 struct HksBlob *srcData = NULL; in LITE_TEST_CASE() local
/base/security/code_signature/interfaces/innerkits/common/include/
Dbyte_buffer.h54 bool CopyFrom(const uint8_t *srcData, uint32_t srcSize) in CopyFrom()
68 bool PutData(uint32_t pos, const uint8_t *srcData, uint32_t srcSize) in PutData()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
Dhks_samgr_service_feature.c75 …c int32_t ProcessMsgToHandler(int funcId, HksIpcContext *ipcContext, const struct HksBlob *srcData, in ProcessMsgToHandler()
96 static int32_t ReadSrcDataFromReq(IpcIo *req, struct HksBlob *srcData) in ReadSrcDataFromReq()
132 struct HksBlob srcData = { 0 }; in Invoke() local
/base/update/updater/services/diffpatch/bzip2/
Dlz4_adapter.cpp111 int32_t Lz4FrameAdapter::WriteData(const BlockBuffer &srcData) in WriteData()
161 int32_t Lz4FrameAdapter::CompressData(const BlockBuffer &srcData) in CompressData()
253 int32_t Lz4BlockAdapter::CompressData(const BlockBuffer &srcData) in CompressData()
Dbzip2_adapter.cpp48 int32_t BZipBuffer2Adapter::WriteData(const BlockBuffer &srcData) in WriteData()
114 int32_t BZip2StreamAdapter::WriteData(const BlockBuffer &srcData) in WriteData()
Ddeflate_adapter.h36 virtual int32_t WriteData(const BlockBuffer &srcData) in WriteData()
Dzip_adapter.cpp72 int32_t ZipAdapter::WriteData(const BlockBuffer &srcData) in WriteData()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_oem_property_test.cpp685 const DataBuffer srcData = {.length = length, .data = (uint8_t *)data}; variable
702 const DataBuffer srcData = {.length = length, .data = nullptr}; variable
711 const DataBuffer srcData = {.length = length, .data = (uint8_t *)data}; variable
721 const DataBuffer srcData = {.length = length, .data = (uint8_t *)data}; variable
739 const DataBuffer srcData = {.length = 0, .data = (uint8_t *)data}; variable
748 const DataBuffer srcData = {.length = length, .data = (uint8_t *)data}; variable
758 const DataBuffer srcData = {.length = length, .data = (uint8_t *)data}; variable
772 const DataBuffer srcData = {.length = length, .data = (uint8_t *)data}; variable
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_local_engine.c44 int32_t HksLocalHash(const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksB… in HksLocalHash()
66 const struct HksBlob *srcData, struct HksBlob *mac) in HksLocalMac()
252 const struct HksBlob *srcData, const struct HksBlob *signature) in CheckLocalSignVerifyParams()
290 static int32_t GetSignVerifyMessage(struct HksUsageSpec *usageSpec, const struct HksBlob *srcData, in GetSignVerifyMessage()
314 …lSign(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *srcData, in HksLocalSign()
347 …erify(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *srcData, in HksLocalVerify()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_ca_access.c42 const struct HksBlob *srcData, struct HksBlob *signature) in HksAccessSign()
48 const struct HksBlob *srcData, const struct HksBlob *signature) in HksAccessVerify()
96 const struct HksBlob *srcData, struct HksBlob *mac) in HksAccessMac()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/
Dhkshash_fuzzer.cpp41 struct HksBlob srcData = { BLOB_SIZE, myData }; in DoSomethingInterestingWithMyAPI() local
/base/security/huks/frameworks/huks_standard/main/os_dependency/sysinfo/src/
Dhks_get_udid.c36 struct HksBlob srcData = { len, (uint8_t *)data }; in ComputeHash() local
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/
Dhuks_access.c182 const struct HksBlob *srcData, struct HksBlob *signature)) in ENABLE_CFI()
193 const struct HksBlob *srcData, const struct HksBlob *signature)) in ENABLE_CFI()
248 const struct HksBlob *srcData, struct HksBlob *mac)) in ENABLE_CFI()
273 const struct HksBlob *srcData, struct HksBlob *mac)) in ENABLE_CFI()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_interfaces.c115 const struct HksBlob *srcData, struct HksBlob *signature) in HuksHdiSign()
121 const struct HksBlob *srcData, const struct HksBlob *signature) in HuksHdiVerify()
151 const struct HksBlob *srcData, struct HksBlob *mac) in HuksHdiMac()
164 const struct HksBlob *srcData, struct HksBlob *mac) in HuksHdiCalcMacHeader()
/base/security/huks/test/unittest/huks_standard_test/module_test/mock/idl/src/
Dhuks_access_mock.c110 const struct HksBlob *srcData, struct HksBlob *signature)) in ENABLE_CFI()
116 const struct HksBlob *srcData, const struct HksBlob *signature)) in ENABLE_CFI()
146 const struct HksBlob *srcData, struct HksBlob *mac)) in ENABLE_CFI()
161 const struct HksBlob *srcData, struct HksBlob *mac)) in ENABLE_CFI()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/
Dhks_sa.cpp87 static int32_t ProcessMessage(uint32_t code, uint32_t outSize, const struct HksBlob &srcData, Messa… in ProcessMessage()
182 struct HksBlob srcData = { 0, nullptr }; in OnRemoteRequest() local

123