Searched refs:HcfMdSpi (Results 1 – 6 of 6) sorted by relevance
24 typedef struct HcfMdSpi HcfMdSpi; typedef26 struct HcfMdSpi { struct29 HcfResult (*engineUpdateMd)(HcfMdSpi *self, HcfBlob *input); argument31 HcfResult (*engineDoFinalMd)(HcfMdSpi *self, HcfBlob *output); argument33 uint32_t (*engineGetMdLength)(HcfMdSpi *self); argument
27 HcfMdSpi base;39 static EVP_MD_CTX *OpensslGetMdCtx(HcfMdSpi *self) in OpensslGetMdCtx()68 static HcfResult OpensslEngineUpdateMd(HcfMdSpi *self, HcfBlob *input) in OpensslEngineUpdateMd()82 static HcfResult OpensslEngineDoFinalMd(HcfMdSpi *self, HcfBlob *output) in OpensslEngineDoFinalMd()107 static uint32_t OpensslEngineGetMdLength(HcfMdSpi *self) in OpensslEngineGetMdLength()131 if (OpensslGetMdCtx((HcfMdSpi *)self) != NULL) { in OpensslDestroyMd()132 Openssl_EVP_MD_CTX_free(OpensslGetMdCtx((HcfMdSpi *)self)); in OpensslDestroyMd()137 HcfResult OpensslMdSpiCreate(const char *opensslAlgoName, HcfMdSpi **spiObj) in OpensslMdSpiCreate()167 *spiObj = (HcfMdSpi *)returnSpiImpl; in OpensslMdSpiCreate()
26 HcfResult OpensslMdSpiCreate(const char *opensslAlgoName, HcfMdSpi **spiObj);
29 typedef HcfResult (*HcfMdSpiCreateFunc)(const char *, HcfMdSpi **);34 HcfMdSpi *spiObj;162 HcfMdSpi *spiObj = NULL; in HcfMdCreate()
186 HcfMdSpi *spiObj = nullptr;193 HcfMdSpi *spiObj = nullptr;
425 HcfMdSpi *spiObj = nullptr;426 HcfMdSpi invalidSpi = {{0}};