Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/class_hashstream/
H A Dhashstream_n_exporter.cpp36 if (!hsEntity) { in GetHsEntity()
39 return { true, hsEntity }; in GetHsEntity()
62 std::unique_ptr<HashStreamEntity> hsEntity(rawPtr); in SetHsEntity() local
63 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 …]