Lines Matching refs:seedlen
99 static void det_randomize(void *buf, size_t buflen, const void *seed, size_t seedlen, uint32_t idx)… in det_randomize() argument
108 gcry_md_write(hd, seed, seedlen); in det_randomize()
132 static gcry_mpi_t genprime3mod4(int bits, const void *seed, size_t seedlen, uint32_t idx) { in genprime3mod4() argument
140 det_randomize(buf, buflen, seed, seedlen, idx); in genprime3mod4()
152 static gcry_mpi_t gensquare(const gcry_mpi_t n, const void *seed, size_t seedlen, uint32_t idx, uns… in gensquare() argument
157 det_randomize(buf, buflen, seed, seedlen, idx); in gensquare()
248 void FSPRG_GenMK(void *msk, void *mpk, const void *seed, size_t seedlen, unsigned _secpar) { in FSPRG_GenMK() argument
261 seedlen = FSPRG_RECOMMENDED_SEEDLEN; in FSPRG_GenMK()
264 p = genprime3mod4(secpar / 2, seed, seedlen, RND_GEN_P); in FSPRG_GenMK()
265 q = genprime3mod4(secpar / 2, seed, seedlen, RND_GEN_Q); in FSPRG_GenMK()
288 void FSPRG_GenState0(void *state, const void *mpk, const void *seed, size_t seedlen) { in FSPRG_GenState0() argument
296 x = gensquare(n, seed, seedlen, RND_GEN_X, secpar); in FSPRG_GenState0()
334 void FSPRG_Seek(void *state, uint64_t epoch, const void *msk, const void *seed, size_t seedlen) { in FSPRG_Seek() argument
347 x = gensquare(n, seed, seedlen, RND_GEN_X, secpar); in FSPRG_Seek()