User: Password:
|
|
Subscribe / Log in / New account

Random numbers for embedded devices

Random numbers for embedded devices

Posted Jul 23, 2012 17:14 UTC (Mon) by tytso (subscriber, #9993)
In reply to: Random numbers for embedded devices by cpeterso
Parent article: Random numbers for embedded devices

The expensive (i.e., cryptographic) operations are already in get_random_bytes(). What we do amortized across multiple interrupts is a few xors, a rotate, and some memory accesses into a per-CPU memory pool. So the bulk of the cost is already paid by the processes that need random numbers.


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds