Home
last modified time | relevance | path

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

/netbsd-src/external/lgpl3/gmp/dist/rand/
H A Drandmt.c286 int bits_in_pool = 0; /* Holds number of valid bits in the pool. */ in __gmp_randget_mt() local
305 if (bits_in_pool < 32) /* Need more bits. */ in __gmp_randget_mt()
310 bitpool_l |= (bitpool_h << bits_in_pool) & 0xFFFFFFFF; in __gmp_randget_mt()
311 if (bits_in_pool == 0) in __gmp_randget_mt()
314 bitpool_h >>= 32 - bits_in_pool; in __gmp_randget_mt()
315 bits_in_pool += 32; /* We've got 32 more bits. */ in __gmp_randget_mt()
321 bits_in_pool -= 32; in __gmp_randget_mt()
329 if (bits_in_pool < bits_to_fill) in __gmp_randget_mt()
333 bitpool_l |= (bitpool_h << bits_in_pool) & 0xFFFFFFFF; in __gmp_randget_mt()
334 if (bits_in_pool == 0) in __gmp_randget_mt()
[all …]