Searched refs:rand_size (Results 1 – 1 of 1) sorted by relevance
32 size_t rand_size; in rand_get_size() local33 rand_get_bytes((uint8_t*)(&rand_size), sizeof(rand_size)); in rand_get_size()35 return rand_size; in rand_get_size()38 while (rand_size >= retry) { in rand_get_size()39 rand_get_bytes((uint8_t*)(&rand_size), sizeof(rand_size)); in rand_get_size()41 return rand_size % (max + 1); in rand_get_size()