Searched refs:returnMdApi (Results 1 – 1 of 1) sorted by relevance
152 HcfMdImpl *returnMdApi = (HcfMdImpl *)HcfMalloc(sizeof(HcfMdImpl), 0); in HcfMdCreate() local153 if (returnMdApi == NULL) { in HcfMdCreate()157 if (strcpy_s(returnMdApi->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfMdCreate()159 HcfFree(returnMdApi); in HcfMdCreate()166 HcfFree(returnMdApi); in HcfMdCreate()169 returnMdApi->base.base.getClass = GetMdClass; in HcfMdCreate()170 returnMdApi->base.base.destroy = MdDestroy; in HcfMdCreate()171 returnMdApi->base.update = Update; in HcfMdCreate()172 returnMdApi->base.doFinal = DoFinal; in HcfMdCreate()173 returnMdApi->base.getMdLength = GetMdLength; in HcfMdCreate()[all …]