Home
last modified time | relevance | path

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

/dflybsd-src/contrib/gmp/
H A Drandmt.c276 int bits_in_pool = 0; /* Holds number of valid bits in the pool. */ in __gmp_randget_mt() local
295 if (bits_in_pool < 32) /* Need more bits. */ in __gmp_randget_mt()
300 bitpool_l |= (bitpool_h << bits_in_pool) & 0xFFFFFFFF; in __gmp_randget_mt()
301 if (bits_in_pool == 0) in __gmp_randget_mt()
304 bitpool_h >>= 32 - bits_in_pool; in __gmp_randget_mt()
305 bits_in_pool += 32; /* We've got 32 more bits. */ in __gmp_randget_mt()
311 bits_in_pool -= 32; in __gmp_randget_mt()
319 if (bits_in_pool < bits_to_fill) in __gmp_randget_mt()
323 bitpool_l |= (bitpool_h << bits_in_pool) & 0xFFFFFFFF; in __gmp_randget_mt()
324 if (bits_in_pool == 0) in __gmp_randget_mt()
[all …]