Home
last modified time | relevance | path

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

/base/security/crypto_framework/interfaces/innerkits/crypto_operation/
Dmd.h23 typedef struct HcfMd HcfMd; typedef
25 struct HcfMd { struct
28 HcfResult (*update)(HcfMd *self, HcfBlob *input); argument
30 HcfResult (*doFinal)(HcfMd *self, HcfBlob *output); argument
32 uint32_t (*getMdLength)(HcfMd *self); argument
34 const char *(*getAlgoName)(HcfMd *self); argument
41 HcfResult HcfMdCreate(const char *algoName, HcfMd **md);
/base/security/crypto_framework/frameworks/crypto_operation/
Dmd.c32 HcfMd base;
71 static HcfResult Update(HcfMd *self, HcfBlob *input) in Update()
85 static HcfResult DoFinal(HcfMd *self, HcfBlob *output) in DoFinal()
99 static uint32_t GetMdLength(HcfMd *self) in GetMdLength()
113 static const char *GetAlgoName(HcfMd *self) in GetAlgoName()
141 HcfResult HcfMdCreate(const char *algoName, HcfMd **md) in HcfMdCreate()
176 *md = (HcfMd *)returnMdApi; in HcfMdCreate()
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/
Dnapi_md.h31 explicit NapiMd(HcfMd *mdObj);
33 HcfMd *GetMd();
46 HcfMd *mdObj_ = nullptr;
/base/security/crypto_framework/test/unittest/src/
Dcrypto_md_sm3_test.cpp60 HcfMd *mdObj = nullptr;
70 HcfMd *mdObj = nullptr;
84 HcfMd *mdObj = nullptr;
98 HcfMd *mdObj = nullptr;
115 HcfMd *mdObj = nullptr;
131 HcfMd *mdObj = nullptr;
152 HcfMd *mdObj = nullptr;
164 HcfMd *mdObj = nullptr;
Dcrypto_md_test.cpp95 HcfMd *mdObj = nullptr;
105 HcfMd *mdObj = nullptr;
114 HcfMd *mdObj = nullptr;
123 HcfMd *mdObj = nullptr;
137 HcfMd *mdObj = nullptr;
151 HcfMd *mdObj = nullptr;
167 HcfMd *mdObj = nullptr;
183 HcfMd *mdObj = nullptr;
204 HcfMd *mdObj = nullptr;
226 HcfMd *mdObj = nullptr;
[all …]
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmdcreate_fuzzer/
Dhcfmdcreate_fuzzer.cpp31 HcfMd *mdObj = nullptr; in TestMd()
51 HcfMd *mdObj = nullptr; in HcMdCreateFuzzTest()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_md.cpp45 HcfMd *md = nullptr;
110 HcfMd *mdObj = context->md; in MdUpdateExecute()
121 HcfMd *mdObj = context->md; in MdDoFinalExecute()
280 NapiMd::NapiMd(HcfMd *mdObj) in NapiMd()
290 HcfMd *NapiMd::GetMd() in GetMd()
347 HcfMd *md = napiMd->GetMd(); in JsGetMdLength()
403 HcfMd *mdObj = nullptr; in CreateMd()