Home
last modified time | relevance | path

Searched refs:signLen (Results 1 – 10 of 10) sorted by relevance

/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_sign.h51 …virtual int32_t SignBuffer(const PkgBuffer &buffer, std::vector<uint8_t> &sign, size_t &signLen) c…
67 …int32_t SignBuffer(const PkgBuffer &buffer, std::vector<uint8_t> &sign, size_t &signLen) const ove… in SignBuffer() argument
71 UNUSED(signLen); in SignBuffer()
82 …int32_t SignBuffer(const PkgBuffer &buffer, std::vector<uint8_t> &sign, size_t &signLen) const ove…
91 …int32_t SignBuffer(const PkgBuffer &buffer, std::vector<uint8_t> &sign, size_t &signLen) const ove…
Dpkg_algo_sign.cpp35 …lgorithmRsa::SignBuffer(const PkgBuffer &buffer, std::vector<uint8_t> &sign, size_t &signLen) const in SignBuffer()
70 signLen = size; in SignBuffer()
75 …lgorithmEcc::SignBuffer(const PkgBuffer &buffer, std::vector<uint8_t> &sign, size_t &signLen) const in SignBuffer()
106 signLen = size + sizeof(uint32_t); in SignBuffer()
/base/update/sys_installer_lite/frameworks/source/verify/
Dhota_verify.c103 …t32 HotaSignVerifyByHash(const uint8 *hash, uint32 hashLen, const uint8 *imageSign, uint32 signLen) in HotaSignVerifyByHash() argument
122 ret = AppVerifyData(&rsa, hash, hashLen, imageSign, signLen); in HotaSignVerifyByHash()
132 int32 HotaSignVerify(uint8 *image, uint32 imgLen, uint8 *imageSign, uint32 signLen) in HotaSignVerify() argument
135 printf("SignVerify param in illegal, len %u!\r\n", signLen); in HotaSignVerify()
146 int ret = HotaSignVerifyByHash(imageHashLocal, HASH_LENGTH, imageSign, signLen); in HotaSignVerify()
Dhota_verify.h37 int32 HotaSignVerify(uint8 *image, uint32 imgLen, uint8 *imageSign, uint32 signLen);
/base/global/i18n_lite/frameworks/i18n/src/
Dstr_util.cpp31 int signLen = strlen(sign); in ReplaceAndCountOff() local
32 return off + signLen - 1; in ReplaceAndCountOff()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_dsa_helper.c194 size_t signLen = signData->size; in OpensslSignDsa() local
195 if (EVP_DigestSignFinal(mctx, signData->data, &signLen) != 1) { in OpensslSignDsa()
201 signData->size = signLen; in OpensslSignDsa()
Dopenssl_rsa_helper.c470 size_t signLen = signData->size; in OpensslSignRsa() local
471 if (EVP_DigestSignFinal(mctx, signData->data, &signLen) != 1) { in OpensslSignRsa()
477 signData->size = signLen; in OpensslSignRsa()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp848 size_t signLen = DigestAlgorithm::GetSignatureLen(info->digestMethod); in DoCreatePkgStream() local
849 std::vector<uint8_t> signedData(signLen, 0); in DoCreatePkgStream()
852 ret = stream->Write(signBuffer, signLen, offset); in DoCreatePkgStream()
861 if (signDataLen > signLen) { in DoCreatePkgStream()
862 PKG_LOGE("SignData len %zu more %zu", signDataLen, signLen); in DoCreatePkgStream()
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp267 size_t signLen = parsedLen; in ReadSignData() local
296 signLen = parsedLen - signLen; in ReadSignData()
299 it.second->AddDataOffset(signLen); in ReadSignData()