fragattacks/src
Jouni Malinen bbb921daaa Maintain internal entropy pool for augmenting random number generation
By default, make hostapd and wpa_supplicant maintain an internal
entropy pool that is fed with following information:

hostapd:
- Probe Request frames (timing, RSSI)
- Association events (timing)
- SNonce from Supplicants

wpa_supplicant:
- Scan results (timing, signal/noise)
- Association events (timing)

The internal pool is used to augment the random numbers generated
with the OS mechanism (os_get_random()). While the internal
implementation is not expected to be very strong due to limited
amount of generic (non-platform specific) information to feed the
pool, this may strengthen key derivation on some devices that are
not configured to provide strong random numbers through
os_get_random() (e.g., /dev/urandom on Linux/BSD).

This new mechanism is not supposed to replace proper OS provided
random number generation mechanism. The OS mechanism needs to be
initialized properly (e.g., hw random number generator,
maintaining entropy pool over reboots, etc.) for any of the
security assumptions to hold.

If the os_get_random() is known to provide strong ramdom data (e.g., on
Linux/BSD, the board in question is known to have reliable source of
random data from /dev/urandom), the internal hostapd random pool can be
disabled. This will save some in binary size and CPU use. However, this
should only be considered for builds that are known to be used on
devices that meet the requirements described above. The internal pool
is disabled by adding CONFIG_NO_RANDOM_POOL=y to the .config file.
2010-11-24 01:29:40 +02:00
..
ap Maintain internal entropy pool for augmenting random number generation 2010-11-24 01:29:40 +02:00
common Share WPA IE parser function for RSN authenticator/supplicant 2010-11-12 21:52:14 +02:00
crypto Maintain internal entropy pool for augmenting random number generation 2010-11-24 01:29:40 +02:00
drivers Add HT40 flags into driver channel list 2010-11-12 18:13:37 +02:00
eap_common Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
eap_peer Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
eap_server Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
eapol_auth EAP-pwd: Add support for EAP-pwd server and peer functionality 2010-09-14 21:51:40 -10:00
eapol_supp Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
l2_packet l2_packet_ndis: Fix overlapped write not to corrupt stack 2010-09-02 13:23:14 +03:00
p2p P2P: Reselect operating channel preference based on best channels 2010-11-10 13:34:33 +02:00
radius EAP-pwd: Add support for EAP-pwd server and peer functionality 2010-09-14 21:51:40 -10:00
rsn_supp Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
tls Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
utils edit: Clear edit line on deinit 2010-11-21 12:07:29 +02:00
wps Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00