csprng.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 22 | 95.4 |
line | true | false | branch |
---|---|---|---|
127 | 75 | 5 | if (bytes >= SEED_BYTES) { |
139 | 44 | 5 | for (i = 4*((bytes+3)/4); i < SEED_BYTES; i += 4) |
149 | 69 | 11 | if (!_has_selftest_run) { |
164 | 4 | 1 | if (insecure_seed <= UVCONST(4294967295)) { |
264 | 1010 | 133374 | if (n <= 1) |
270 | 133374 | 1 | if (r >= rmin) |
280 | 134262 | 292 | if (n <= 4294967295UL) |
286 | 292 | 3 | if (r >= rmin) |
294 | 1 | 3190 | if (nbits == 0) { |
296 | 870 | 2320 | } else if (nbits <= 32) { |
299 | 2320 | 0 | } else if (nbits <= 64) { |