Home
last modified time | relevance | path

Searched refs:rand_bool (Results 1 – 2 of 2) sorted by relevance

/linux/lib/crypto/tests/
H A Dhash-test-template.h45 static bool rand_bool(void) in rand_bool() function
172 while (rand_bool()) { in test_hash_incremental_updates()
180 if (remaining_len != 0 || rand_bool()) { in test_hash_incremental_updates()
245 bool left_end = rand_bool(); in test_hash_overlaps()
H A Dsha3_kunit.c342 while (rand_bool()) { in test_shake_multiple_squeezes()
350 if (remaining_len != 0 || rand_bool()) { in test_shake_multiple_squeezes()