Lines Matching refs:algorithm
719 …ff, std::pair<DigestAlgorithm::DigestAlgorithmPtr, DigestAlgorithm::DigestAlgorithmPtr> &algorithm) in DoCreatePkgStream() argument
741 algorithm.first->Update(buff, readLen); in DoCreatePkgStream()
744 algorithm.second->Update(buff, readLen); in DoCreatePkgStream()
760 algorithm.first->Update(buff, readLen); in DoCreatePkgStream()
764 algorithm.second->Update(data, SIGN_TOTAL_LEN); in DoCreatePkgStream()
777 …DigestAlgorithm::DigestAlgorithmPtr algorithm = PkgAlgorithmFactory::GetDigestAlgorithm(digestMeth… in DoCreatePkgStream() local
778 if (algorithm == nullptr) { in DoCreatePkgStream()
782 algorithm->Init(); in DoCreatePkgStream()
792 algorithm, algorithmInner); in DoCreatePkgStream()
799 algorithm->Final(result); in DoCreatePkgStream()
904 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream() local
905 if (algorithm == nullptr) { in DoCreatePkgStream()
917 … int32_t ret = algorithm->Unpack(inStream.get(), PkgStreamImpl::ConvertPkgStream(stream), context); in DoCreatePkgStream()
926 algorithm->UpdateFileInfo(info); in DoCreatePkgStream()
936 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream() local
937 if (algorithm == nullptr) { in DoCreatePkgStream()
949 int32_t ret = algorithm->Pack(inStream.get(), PkgStreamImpl::ConvertPkgStream(stream), context); in DoCreatePkgStream()