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

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Drandom.c55 #define RANDOM_ENTROPY_SIZE 20 macro
351 if (len != 1 + RANDOM_ENTROPY_SIZE) {
359 random_add_randomness(buf + 1, RANDOM_ENTROPY_SIZE);
370 char buf[RANDOM_ENTROPY_SIZE];
378 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
390 fwrite(buf, RANDOM_ENTROPY_SIZE, 1, f) != 1)
/external/wpa_supplicant_8/src/crypto/
H A Drandom.c55 #define RANDOM_ENTROPY_SIZE 20 macro
351 if (len != 1 + RANDOM_ENTROPY_SIZE) {
359 random_add_randomness(buf + 1, RANDOM_ENTROPY_SIZE);
370 char buf[RANDOM_ENTROPY_SIZE];
378 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
390 fwrite(buf, RANDOM_ENTROPY_SIZE, 1, f) != 1)
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Drandom.c55 #define RANDOM_ENTROPY_SIZE 20 macro
351 if (len != 1 + RANDOM_ENTROPY_SIZE) {
359 random_add_randomness(buf + 1, RANDOM_ENTROPY_SIZE);
370 char buf[RANDOM_ENTROPY_SIZE];
378 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
390 fwrite(buf, RANDOM_ENTROPY_SIZE, 1, f) != 1)

Completed in 81 milliseconds