Lines Matching refs:algorithm
712 …ff, std::pair<DigestAlgorithm::DigestAlgorithmPtr, DigestAlgorithm::DigestAlgorithmPtr> &algorithm) in DoCreatePkgStream() argument
734 algorithm.first->Update(buff, readLen); in DoCreatePkgStream()
737 algorithm.second->Update(buff, readLen); in DoCreatePkgStream()
753 algorithm.first->Update(buff, readLen); in DoCreatePkgStream()
757 algorithm.second->Update(data, SIGN_TOTAL_LEN); in DoCreatePkgStream()
770 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(digestMeth… in DoCreatePkgStream() local
771 if (algorithm == nullptr) { in DoCreatePkgStream()
775 algorithm->Init(); in DoCreatePkgStream()
785 algorithm, algorithmInner); in DoCreatePkgStream()
792 algorithm->Final(result); in DoCreatePkgStream()
894 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream() local
895 if (algorithm == nullptr) { in DoCreatePkgStream()
907 … int32_t ret = algorithm->Unpack(inStream.get(), PkgStreamImpl::ConvertPkgStream(stream), context); in DoCreatePkgStream()
916 algorithm->UpdateFileInfo(info); in DoCreatePkgStream()
926 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream() local
927 if (algorithm == nullptr) { in DoCreatePkgStream()
939 int32_t ret = algorithm->Pack(inStream.get(), PkgStreamImpl::ConvertPkgStream(stream), context); in DoCreatePkgStream()