Searched refs:seedlen (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | fsprg.c | 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() [all …]
|
D | fsprg.h | 43 void FSPRG_GenMK(void *msk, void *mpk, const void *seed, size_t seedlen, unsigned secpar); 49 void FSPRG_GenState0(void *state, const void *mpk, const void *seed, size_t seedlen); 56 void FSPRG_Seek(void *state, uint64_t epoch, const void *msk, const void *seed, size_t seedlen);
|