From ffca8a8d37343a36544a1fbc060605d14913d169 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 3 Feb 2022 03:15:53 +0100 Subject: [PATCH] main: use moar_random_data() --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 5e438da..1d0f6a5 100644 --- a/main.cpp +++ b/main.cpp @@ -83,8 +83,11 @@ int main() { try { using std::chrono_literals::operator""ms; + // this may fail, p0 probaby has not collected enough entropy by now chance::f->random_data(4); // number of bytes requested + std::this_thread::sleep_for(7777ms); // enough time for p0 == 64 + chance::f->moar_random_data(1000000000000); // 1000 GB --> for dieharder if (chance::AUTOSTOP) { auto err{chance::f->stop_running()};