Define this so we don't try to link against common/pseudorand.o! */
| 27 | |
| 28 | /* Define this so we don't try to link against common/pseudorand.o! */ |
| 29 | const struct siphash_seed *siphash_seed(void) |
| 30 | { |
| 31 | if (!fuzz_allow_siphash_seed) |
| 32 | abort(); |
| 33 | |
| 34 | struct siphash_seed *siphashseed = tal(tmpctx, struct siphash_seed); |
| 35 | memset(siphashseed, 1, sizeof(*siphashseed)); |
| 36 | return siphashseed; |
| 37 | } |
| 38 | |
| 39 | uint64_t pseudorand_(uint64_t max, uint64_t *offset) |
| 40 | { |