[147098] 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 (Marcus Leech)
Fri Sep 13 12:39:59 2013

X-Original-To: cryptography@metzdowd.com
Date: Fri, 13 Sep 2013 15:59:12 +0000 (UTC)
From: Marcus Leech <mleech@ripnet.com>
To: kentborg@borg.org
Cc: cryptography@metzdowd.com
Errors-To: cryptography-bounces+crypto.discuss=bloom-picayune.mit.edu@metzdowd.com

--===============2189259008567456260==
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<div>&nbsp;</div>
<div class="replyBody">
<blockquote class="email_quote" style="border-left: 2px solid #267fdb; margin: 0 0 0 1.8ex; padding-left: 1ex;"><br />[* Until Linux kernel 3.6 the person maintaining urandom was busily <br />turning off interrupts as a source of entropy, I think because he didn't <br />know how much entropy he was getting so better not to get it at all <br />(huh?). In 3.6 this was changed to use all interrupts as entropy <br />sources, which is good. This means earlier kernels aren't so <br />good--though I notice that Ubuntu's kernel has the 3.6 improvement in <br />their version of 3.2, so individual distributions will vary.]<br /><br /><br />-kb</blockquote>
<div>&nbsp;</div>
<div>I'll also observe that on new mobile platforms, there are typically a flotilla of physical-world sensors.&nbsp; The low-level drivers for</div>
<div>&nbsp; these should be contributing entropy to the pool in the kernel.&nbsp; At the apps layer, typically, the "raw" sensor values have been</div>
<div>&nbsp; filtered by application-specific algorithms, so that they're less useful as entropy sources at that level.</div>
<div>&nbsp;</div>
<div>For example, low-G accelerometers are quite noisy -- these are typically used as multi-axis rotation sensors (they use the gravity-field orientation to sense rotation).</div>
<div>&nbsp;</div>
<div>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.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote class="email_quote" style="border-left: 2px solid #267fdb; margin: 0 0 0 1.8ex; padding-left: 1ex;"><br /><br /></blockquote>
</div>
<div>&nbsp;</div>

--===============2189259008567456260==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

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