WPS: Use random_get_bytes() for NFC password id
authorJouni Malinen <j@w1.fi>
Thu, 28 Jun 2012 17:40:16 +0000 (20:40 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 28 Jun 2012 17:40:16 +0000 (20:40 +0300)
commit72df0cd28ce14432a650f13ed9011853ba0df659
tree5434ee1c4a15484d2ad9d264242c8b4533a0f4fc
parentffdaa05a6b1b59c4b2e50f9b7fef82769fc2d3fe
WPS: Use random_get_bytes() for NFC password id

os_random() may not be seeded properly, so use stronger mechanism for
generating the password id for NFC password tokens.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/wps_hostapd.c
wpa_supplicant/wps_supplicant.c