Searched refs:RANDOM_ENTROPY_SIZE (Results 1 – 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | random.c | 59 #define RANDOM_ENTROPY_SIZE 20 macro 387 if (len != 1 + RANDOM_ENTROPY_SIZE) { in random_read_entropy() 395 random_add_randomness(buf + 1, RANDOM_ENTROPY_SIZE); in random_read_entropy() 405 char buf[RANDOM_ENTROPY_SIZE]; in random_write_entropy() 413 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0) in random_write_entropy() 425 fwrite(buf, RANDOM_ENTROPY_SIZE, 1, f) != 1) in random_write_entropy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | random.c | 59 #define RANDOM_ENTROPY_SIZE 20 macro 387 if (len != 1 + RANDOM_ENTROPY_SIZE) { in random_read_entropy() 395 random_add_randomness(buf + 1, RANDOM_ENTROPY_SIZE); in random_read_entropy() 405 char buf[RANDOM_ENTROPY_SIZE]; in random_write_entropy() 413 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0) in random_write_entropy() 425 fwrite(buf, RANDOM_ENTROPY_SIZE, 1, f) != 1) in random_write_entropy()
|