diff options
author | Nick Lowe <nick.lowe@lugatech.com> | 2016-02-09 14:43:21 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-02-19 16:44:40 (GMT) |
commit | f441e5af777c01f8649374fe91ff135e080aa959 (patch) | |
tree | ac00c423780b07e8326325097563e4aa6eee8650 /wpa_supplicant | |
parent | 20c48fd99b1458db6ab61d4ec46aed2a824b257f (diff) | |
download | hostap-f441e5af777c01f8649374fe91ff135e080aa959.zip hostap-f441e5af777c01f8649374fe91ff135e080aa959.tar.gz hostap-f441e5af777c01f8649374fe91ff135e080aa959.tar.bz2 |
Use os_get_random() for Shared Key authentication challenge
Do not use the system clock or os_random() that uses a low quality PRNG
as part of the pseudo-random challenge in auth_shared_key(). The
construction can be improved upon by replacing it with a call to
os_get_random(), which uses a high quality PRNG.
Signed-off-by: Nick Lowe <nick.lowe@lugatech.com>
Diffstat (limited to 'wpa_supplicant')
0 files changed, 0 insertions, 0 deletions