Searched refs:prng_ctx (Results 1 – 1 of 1) sorted by relevance
33 IppsPRNGState* prng_ctx = NULL; in PrngCreate() local46 prng_ctx = (IppsPRNGState*)calloc(1, prng_ctx_size); in PrngCreate()48 if (!prng_ctx) { in PrngCreate()52 if (ippStsNoErr != ippsPRNGInit(sizeof(seed_value) * 8, prng_ctx)) { in PrngCreate()73 if (ippStsNoErr != ippsPRNGSetSeed(seed_ctx, prng_ctx)) { in PrngCreate()78 *prng = prng_ctx; in PrngCreate()79 prng_ctx = NULL; in PrngCreate()84 if (prng_ctx) free(prng_ctx); in PrngCreate()