X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcrypto.h;h=ac96ea88e1a676b4bdc902f5641709b7b4f41081;hb=0fe69908838248c28624beb540257892db6bdcbd;hp=9fc4156c82a3aaf0e65dedefb453d3ece318242c;hpb=56621be326497d56db0c4c372ae3cc497018cfcf;p=tinc diff --git a/src/crypto.h b/src/crypto.h index 9fc4156c..ac96ea88 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -23,11 +23,9 @@ */ extern void crypto_init(void); -extern void crypto_exit(void); extern uint64_t xoshiro(void); extern void prng_init(void); extern void prng_randomize(void *buf, size_t buflen); -extern void randomize(void *buf, size_t buflen); static inline uint32_t prng(uint32_t limit) { uint64_t bins = UINT64_MAX / limit;