| 54 | } |
| 55 | |
| 56 | double pseudorand_double_(uint64_t *offset) |
| 57 | { |
| 58 | init_if_needed(); |
| 59 | |
| 60 | if (randbytes_overridden()) { |
| 61 | uint64_t rand; |
| 62 | randbytes_(&rand, sizeof(rand), offset); |
| 63 | return rand / (double)UINT64_MAX; |
| 64 | } |
| 65 | return isaac64_next_double(&isaac64); |
| 66 | } |
| 67 | |
| 68 | const struct siphash_seed *siphash_seed(void) |
| 69 | { |
nothing calls this directly
no test coverage detected