Lines Matching full:duplicate
293 * This simplifies finding duplicate random output and makes
407 int duplicate[2] = {0, 0}; in test_rand_reseed_on_fork() local
463 /* ...and count duplicate prefixes by looking at the first byte only */ in test_rand_reseed_on_fork()
467 ++duplicate[result[i].private]; in test_rand_reseed_on_fork()
471 if (duplicate[0] >= DRBG_FORK_COUNT - 1) { in test_rand_reseed_on_fork()
473 TEST_note("ERROR: %d duplicate prefixes in public random output", duplicate[0]); in test_rand_reseed_on_fork()
477 if (duplicate[1] >= DRBG_FORK_COUNT - 1) { in test_rand_reseed_on_fork()
479 TEST_note("ERROR: %d duplicate prefixes in private random output", duplicate[1]); in test_rand_reseed_on_fork()
483 duplicate[0] = 0; in test_rand_reseed_on_fork()
488 /* ...and count duplicate chunks */ in test_rand_reseed_on_fork()
491 ++duplicate[0]; in test_rand_reseed_on_fork()
494 if (duplicate[0] >= DRBG_FORK_COUNT - 1) { in test_rand_reseed_on_fork()
496 TEST_note("ERROR: %d duplicate chunks in random output", duplicate[0]); in test_rand_reseed_on_fork()