/dev/urandom issue

Sichen Zhao zsc19940506 at outlook.com
Wed Aug 2 14:01:02 UTC 2017


> On 02/08/17 10:46, Sichen Zhao wrote:
>
>> Hi all,
>>
>> When i use wpa_supplicant to configure WPA, there are an error:
>>
>> Could not open /dev/urandom.
>> wlan0: WPA: Failed to get random data for SNonce
>
> /dev/urandom should not be used. Use getentropy() instead.
>
The getentropy() function seems in the contrib/unbound/compat, which is 
not imported too. So i still need import something, right?
>>
>> It seems we need /dev/urandom to generate the random data. So how do 
>> we deal with it? Should import it?
>>
>> Best Regards
>> Sichen Zhao
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>



More information about the devel mailing list