/* This software was written by Dirk Engling It is considered beerware. Prost. Skol. Cheers or whatever. $id$ */ #ifndef OT_RANDOM_H__ #define OT_RANDOM_H__ #include #include /* Seed whatever generator the build settled on. A no-op when backed by arc4random, which seeds itself from the kernel. */ void random_init(void); uint32_t random_uint32(void); void random_bytes(void *buf, size_t len); #endif