Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/crypto/
H A Drandom.c58 #define RANDOM_ENTROPY_SIZE 20 macro
375 if (len != 1 + RANDOM_ENTROPY_SIZE) { in random_read_entropy()
383 random_add_randomness(buf + 1, RANDOM_ENTROPY_SIZE); in random_read_entropy()
393 char buf[RANDOM_ENTROPY_SIZE]; in random_write_entropy()
401 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0) in random_write_entropy()
413 fwrite(buf, RANDOM_ENTROPY_SIZE, 1, f) != 1) in random_write_entropy()