Home
last modified time | relevance | path

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

/external/epid-sdk/example/signmsg/src/
Dprng.c35 IppsBigNumState* seed_ctx = NULL; in PrngCreate() local
58 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()