Searched refs:hsEntity (Results 1 – 1 of 1) sorted by relevance
36 if (!hsEntity) { in GetHsEntity()39 return { true, hsEntity }; in GetHsEntity()62 std::unique_ptr<HashStreamEntity> hsEntity(rawPtr); in SetHsEntity() local63 hsEntity->algType = algType; in SetHsEntity()69 hsEntity->md5Ctx = ctx; in SetHsEntity()75 hsEntity->shaCtx = ctx; in SetHsEntity()81 hsEntity->sha256Ctx = ctx; in SetHsEntity()137 switch (hsEntity->algType) { in Digest()140 MD5_Final(res.get(), &hsEntity->md5Ctx); in Digest()146 SHA1_Final(res.get(), &hsEntity->shaCtx); in Digest()[all …]