We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 856ad6b commit 889e366Copy full SHA for 889e366
crypto/fipsmodule/rand/urandom_test.cc
@@ -524,6 +524,11 @@ static std::vector<Event> TestFunctionPRNGModel(unsigned flags) {
524
525
// Tests that |TestFunctionPRNGModel| is a correct model for the code in
526
// urandom.c, at least to the limits of the the |Event| type.
527
+//
528
+// |TestFunctionPRNGModel| creates the entropy function call model, for
529
+// various configs. |GetTrace| records the actual entropy function calls for
530
+// each config and compares it against the model.
531
+// Only system entropy function calls are modeled e.g. /dev/random and getrandom.
532
TEST(URandomTest, Test) {
533
char buf[256];
534
0 commit comments