Home
last modified time | relevance | path

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

/base/security/crypto_framework/frameworks/crypto_operation/
Dmd.c152 HcfMdImpl *returnMdApi = (HcfMdImpl *)HcfMalloc(sizeof(HcfMdImpl), 0); in HcfMdCreate() local
153 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 …]