Home
last modified time | relevance | path

Searched refs:blockLen (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/package/pkg_verify/
Dopenssl_util.cpp199 size_t blockLen = HASH_SOURCE_BLOCK_LEN; in CalcSha256Digest() local
200 PkgBuffer buffer(blockLen); in CalcSha256Digest()
203 while (remainLen >= blockLen) { in CalcSha256Digest()
204 ret = srcData->Read(buffer, offset, blockLen, readLen); in CalcSha256Digest()
209 SHA256_Update(&ctx, buffer.buffer, blockLen); in CalcSha256Digest()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_verify_hap.c43 static int ComputeBlockHash(const char *block, int blockLen, int alg, const HapBuf *result, int *of… in ComputeBlockHash() argument
49 rawBufLen = blockLen; in ComputeBlockHash()
Dapp_verify.c1093 int blockLen; in VerifyBinSign() local
1098 char *signBuf = GetSignBlockByType(signInfo, fp, SIGNATURE_BLOCK_TYPE, &blockLen, &blockHead); in VerifyBinSign()
1101 Pkcs7 *pkcs7 = GetBinSignPkcs(signBuf, (size_t)blockLen); in VerifyBinSign()
/base/update/updater/services/applypatch/
Dblock_set.cpp261 std::string blockLen = cmd.GetArgumentByPos(pos++); in LoadSourceBuffer() local
262 srcBlockSize = String2Int<size_t>(blockLen, N_DEC); in LoadSourceBuffer()