Re: [PATCH] Remove os_random() and refactor its callers to use os_get_random(...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 08, 2016 at 04:58:07PM +0000, Nick Lowe wrote:
> Remove os_random() and refactor its callers to use os_get_random(...)

Why? This looks like unnecessary increase in use of more CPU heavy
operation for things that should not need os_get_random(O level of PRNG.
If there are places here that really need a strong PRNG, those should be
clearly identified and addressed one-ny-one. If at the end of such an
exercise there are no remaining caller of os_random(), than function can
be removed in the end of such a patch set.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux