]> www.tinc-vpn.org Git - tinc/blobdiff - src/xoshiro.c
Refactor crypto RNG; add getrandom() support
[tinc] / src / xoshiro.c
index 481c2d520909d8566ff025bdc5294e2de2327654..11eaf5bae622d491bd37b6e38bd5fd365c4050f1 100644 (file)
@@ -9,6 +9,7 @@ See <http://creativecommons.org/publicdomain/zero/1.0/>. */
 #include "system.h"
 
 #include "crypto.h"
+#include "random.h"
 
 /* This is xoshiro256** 1.0, one of our all-purpose, rock-solid
    generators. It has excellent (sub-ns) speed, a state (256 bits) that is