Searched refs:HcfMac (Results 1 – 7 of 7) sorted by relevance
25 typedef struct HcfMac HcfMac; typedef27 struct HcfMac { struct30 HcfResult (*init)(HcfMac *self, const HcfSymKey *key); argument32 HcfResult (*update)(HcfMac *self, HcfBlob *input); argument34 HcfResult (*doFinal)(HcfMac *self, HcfBlob *output); argument36 uint32_t (*getMacLength)(HcfMac *self); argument38 const char *(*getAlgoName)(HcfMac *self); argument45 HcfResult HcfMacCreate(const char *algoName, HcfMac **mac);
31 HcfMac base;69 static HcfResult Init(HcfMac *self, const HcfSymKey *key) in Init()83 static HcfResult Update(HcfMac *self, HcfBlob *input) in Update()97 static HcfResult DoFinal(HcfMac *self, HcfBlob *output) in DoFinal()111 static uint32_t GetMacLength(HcfMac *self) in GetMacLength()125 static const char *GetAlgoName(HcfMac *self) in GetAlgoName()153 HcfResult HcfMacCreate(const char *algoName, HcfMac **mac) in HcfMacCreate()189 *mac = (HcfMac *)returnMacApi; in HcfMacCreate()
31 explicit NapiMac(HcfMac *macObj);33 HcfMac *GetMac();47 HcfMac *macObj_ = nullptr;
85 HcfMac *macObj = nullptr;95 HcfMac *macObj = nullptr;104 HcfMac *macObj = nullptr;113 HcfMac *macObj = nullptr;127 HcfMac *macObj = nullptr;141 HcfMac *macObj = nullptr;165 HcfMac *macObj = nullptr;181 HcfMac *macObj = nullptr;209 HcfMac *macObj = nullptr;239 HcfMac *macObj = nullptr;[all …]
89 HcfMac *macObj = nullptr;99 HcfMac *macObj = nullptr;108 HcfMac *macObj = nullptr;117 HcfMac *macObj = nullptr;131 HcfMac *macObj = nullptr;145 HcfMac *macObj = nullptr;169 HcfMac *macObj = nullptr;185 HcfMac *macObj = nullptr;213 HcfMac *macObj = nullptr;243 HcfMac *macObj = nullptr;[all …]
33 HcfMac *macObj = nullptr; in TestMac()64 HcfMac *macObj = nullptr; in HcfMacCreateFuzzTest()
46 HcfMac *mac = nullptr;113 HcfMac *macObj = context->mac; in MacInitExecute()138 HcfMac *macObj = context->mac; in MacUpdateExecute()163 HcfMac *macObj = context->mac; in MacDoFinalExecute()369 NapiMac::NapiMac(HcfMac *macObj) in NapiMac()379 HcfMac *NapiMac::GetMac() in GetMac()454 HcfMac *mac = napiMac->GetMac(); in JsGetMacLength()510 HcfMac *macObj = nullptr; in CreateMac()