Searched refs:seed_ctx (Results 1 – 1 of 1) sorted by relevance
35 IppsBigNumState* seed_ctx = NULL; in PrngCreate() local58 seed_ctx = (IppsBigNumState*)calloc(1, seed_ctx_size); in PrngCreate()59 if (!seed_ctx) { in PrngCreate()63 if (ippStsNoErr != ippsBigNumInit((sizeof(seed_value) + 3) / 4, seed_ctx)) { in PrngCreate()69 ippsSetOctString_BN((void*)&seed_value, sizeof(seed_value), seed_ctx)) { in PrngCreate()73 if (ippStsNoErr != ippsPRNGSetSeed(seed_ctx, prng_ctx)) { in PrngCreate()83 if (seed_ctx) free(seed_ctx); in PrngCreate()