Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 24 of 24) sorted by relevance

/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp264 size_t &parsedLen, DigestAlgorithm::DigestAlgorithmPtr algorithm) in ReadSignData()
306DigestAlgorithm::DigestAlgorithmPtr algorithm, uint32_t needType) in ReadImgHashTLV()
340 …_t UpgradePkgFile::ReadImgHashData(size_t &parsedLen, DigestAlgorithm::DigestAlgorithmPtr algorith… in ReadImgHashData()
384 DigestAlgorithm::DigestAlgorithmPtr algorithm) in ReadPackageInfo()
451 DigestAlgorithm::DigestAlgorithmPtr algorithm = nullptr; in LoadPackage() local
473 int32_t UpgradePkgFile::VerifyFile(size_t &parsedLen, DigestAlgorithm::DigestAlgorithmPtr algorithm, in VerifyFile()
491 …t32_t UpgradePkgFile::VerifyFileV1(size_t &parsedLen, DigestAlgorithm::DigestAlgorithmPtr algorith… in VerifyFileV1()
505 …t32_t UpgradePkgFile::VerifyFileV2(size_t &parsedLen, DigestAlgorithm::DigestAlgorithmPtr algorith… in VerifyFileV2()
531 int32_t UpgradePkgFile::Verify(size_t start, DigestAlgorithm::DigestAlgorithmPtr algorithm, in Verify()
567 int32_t UpgradePkgFile::VerifyHeader(DigestAlgorithm::DigestAlgorithmPtr algorithm, in VerifyHeader()
[all …]
Dpkg_lz4file.cpp49 … PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack() local
79 … PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack() local
Dpkg_gzipfile.cpp128 … PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack() local
197 … PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack() local
Dpkg_zipfile.cpp289 const PkgAlgorithm::PkgAlgorithmPtr algorithm, const PkgStreamPtr outStream) in PackStream()
352 … PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack() local
638 … PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack() local
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algorithm.cpp42 int32_t PkgAlgorithm::FinalDigest(DigestAlgorithm::DigestAlgorithmPtr algorithm, in FinalDigest()
62 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(context.di… in Pack() local
109 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(context.di… in Unpack() local
155 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(context.di… in UnpackWithVerify() local
Dpkg_algo_deflate.cpp57 const PkgStreamPtr outStream, const DigestAlgorithm::DigestAlgorithmPtr algorithm) in PackCalculate()
114 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(context.di… in Pack() local
153 const PkgStreamPtr outStream, DigestAlgorithm::DigestAlgorithmPtr algorithm) in UnpackCalculate()
200 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(context.di… in Unpack() local
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_chain_validator.c38 char *algorithm; member
46 const char *algorithm; member
54 static const HcfCertChainValidatorFuncSet *FindAbility(const char *algorithm) in FindAbility()
173 CfResult HcfCertChainValidatorCreate(const char *algorithm, HcfCertChainValidator **pathValidator) in HcfCertChainValidatorCreate()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_oem_property_test.cpp688 uint32_t algorithm = TYPE_ECDSA_SHA_256; variable
698 uint32_t algorithm = TYPE_ECDSA_SHA_256; variable
735 uint32_t algorithm = TYPE_ECDSA_SHA_256; variable
777 uint32_t algorithm = TYPE_ECDSA_SHA_256 + 2; variable
784 uint32_t algorithm = TYPE_ECDSA_SHA_384; variable
/base/msdp/device_status/libs/src/
Ddevicestatus_algorithm_manager.cpp250 extern "C" void Destroy(const IMsdp* algorithm) in Destroy()
Ddevicestatus_msdp_mock.cpp258 extern "C" void Destroy(const IMsdp* algorithm) in Destroy()
/base/security/device_security_level/oem_property/common/
Ddslm_credential_utils.c62 uint32_t algorithm; member
277 static uint32_t GetAlgorithmType(const char *algorithm) in GetAlgorithmType()
522 const struct DataBuffer *pbkData, uint32_t algorithm) in EcdsaVerify()
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp63 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(PKG_DIGEST… in BuildFileDigest() local
/base/update/updater/test/unittest/package/
Dpkg_test.h88 DigestAlgorithm::DigestAlgorithmPtr algorithm = in BuildFileDigest() local
Dpkg_algo_unittest.cpp111 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(invalidTyp… in TestInvalidParam() local
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp95 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(PKG_DIGEST… in BuildFileDigest() local
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp72 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(PKG_DIGEST… in BuildFileDigest() local
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/
Dhks_report_wrapper.c122 static void GetAlgorithmTag(const struct HksParamSet *paramSetIn, uint32_t *algorithm) in GetAlgorithmTag()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp712 …buff, std::pair<DigestAlgorithm::DigestAlgorithmPtr, DigestAlgorithm::DigestAlgorithmPtr> &algorit… in DoCreatePkgStream()
770 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(digestMeth… in DoCreatePkgStream() local
894 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream() local
926 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream() local
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp205 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(PKG_DIGEST… in BuildFileDigest() local
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_chain_validator.cpp216 std::string algorithm; in CreateCertChainValidator() local
/base/update/updater/services/rust/hash_signed_data/src/
Dimg_hash_check.rs27 algorithm: u16, field
/base/startup/hvb/libhvb/include/
Dhvb_cert.h60 uint32_t algorithm; member
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_agree_mt.cpp524 uint32_t algorithm = ReadValueByTag(testCaseParams.agreeKeyParams, HKS_TAG_ALGORITHM); in ServiceAgreeScenario() local
/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp821 struct HksParam *algorithm = nullptr; in CipherScene() local