Searched refs:returnRandApi (Results 1 – 1 of 1) sorted by relevance
135 HcfRandImpl *returnRandApi = (HcfRandImpl *)HcfMalloc(sizeof(HcfRandImpl), 0); in HcfRandCreate() local136 if (returnRandApi == NULL) { in HcfRandCreate()144 HcfFree(returnRandApi); in HcfRandCreate()147 returnRandApi->base.base.getClass = GetRandClass; in HcfRandCreate()148 returnRandApi->base.base.destroy = HcfRandDestroy; in HcfRandCreate()149 returnRandApi->base.generateRandom = GenerateRandom; in HcfRandCreate()150 returnRandApi->base.getAlgoName = GetAlgoName; in HcfRandCreate()151 returnRandApi->base.setSeed = SetSeed; in HcfRandCreate()152 returnRandApi->spiObj = spiObj; in HcfRandCreate()153 *random = (HcfRand *)returnRandApi; in HcfRandCreate()