[147099] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: [Cryptography] Finding Entropy Isn't That Hard

daemon@ATHENA.MIT.EDU (Kent Borg)
Fri Sep 13 12:40:43 2013

X-Original-To: cryptography@metzdowd.com
Date: Fri, 13 Sep 2013 12:18:02 -0400
From: Kent Borg <kentborg@borg.org>
To: Marcus Leech <mleech@ripnet.com>
In-Reply-To: <1490558275.33231.1379087952714.JavaMail.mail@webmail03>
Cc: cryptography@metzdowd.com
Errors-To: cryptography-bounces+crypto.discuss=bloom-picayune.mit.edu@metzdowd.com

On 09/13/2013 11:59 AM, Marcus Leech wrote:
> Any physical-world sensor driver, where the sensor inherently has a 
> bit of noise, I think has a "moral obligation" to contribute bits to 
> the kernel entopy pool.

Within limits.  Mixing the entropy pool on Linux takes work and battery 
power.

Looking at some random Android kernel source code (git commit c73c9662) 
it looks like add_interrupt_randomness() is happening for every 
interrupt (your Android device's kernel may vary), so there is probably 
plenty of entropy.  And add_interrupt_randomness() throttles to only 
feed the randomness once a second, not wasting our time or battery.

Don't carry moral obligation beyond what is reasonable!

-kb

_______________________________________________
The cryptography mailing list
cryptography@metzdowd.com
http://www.metzdowd.com/mailman/listinfo/cryptography

home help back first fref pref prev next nref lref last post