Skip to content

Commit 889e366

Browse files
committed
More details
1 parent 856ad6b commit 889e366

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crypto/fipsmodule/rand/urandom_test.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,11 @@ static std::vector<Event> TestFunctionPRNGModel(unsigned flags) {
524524

525525
// Tests that |TestFunctionPRNGModel| is a correct model for the code in
526526
// 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.
527532
TEST(URandomTest, Test) {
528533
char buf[256];
529534

0 commit comments

Comments
 (0)