/base/security/crypto_framework/test/unittest/src/ |
D | crypto_dsa_sign_test.cpp | 532 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/ |
D | hks_ipc_serialization.c | 123 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 …]
|
D | hks_ipc_service.c | 55 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/ |
D | cm_fuzz_test_common.cpp | 22 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/ |
D | hks_mac_test.cpp | 83 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
|
D | hks_hash_test.cpp | 79 struct HksBlob *srcData = NULL; variable
|
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/ |
D | hks_mac_test.cpp | 81 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
|
D | hks_hash_test.cpp | 79 struct HksBlob *srcData = NULL; variable
|
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
D | hks_mac_test.c | 83 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
|
D | hks_hash_test.c | 83 struct HksBlob *srcData = NULL; in LITE_TEST_CASE() local
|
/base/security/code_signature/interfaces/innerkits/common/include/ |
D | byte_buffer.h | 54 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/ |
D | hks_samgr_service_feature.c | 75 …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/ |
D | lz4_adapter.cpp | 111 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()
|
D | bzip2_adapter.cpp | 48 int32_t BZipBuffer2Adapter::WriteData(const BlockBuffer &srcData) in WriteData() 114 int32_t BZip2StreamAdapter::WriteData(const BlockBuffer &srcData) in WriteData()
|
D | deflate_adapter.h | 36 virtual int32_t WriteData(const BlockBuffer &srcData) in WriteData()
|
D | zip_adapter.cpp | 72 int32_t ZipAdapter::WriteData(const BlockBuffer &srcData) in WriteData()
|
/base/security/device_security_level/test/dslm_unit_test/ |
D | dslm_oem_property_test.cpp | 685 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/ |
D | hks_local_engine.c | 44 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/ |
D | hks_ca_access.c | 42 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/ |
D | hkshash_fuzzer.cpp | 41 struct HksBlob srcData = { BLOB_SIZE, myData }; in DoSomethingInterestingWithMyAPI() local
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/sysinfo/src/ |
D | hks_get_udid.c | 36 struct HksBlob srcData = { len, (uint8_t *)data }; in ComputeHash() local
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/ |
D | huks_access.c | 182 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/ |
D | hks_core_interfaces.c | 115 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/ |
D | huks_access_mock.c | 110 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/ |
D | hks_sa.cpp | 87 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
|