<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2013-09-09 11:15 AM, Perry E.
      Metzger wrote:<br>
    </div>
    <blockquote
      cite="mid:20130908211541.557a7c5a@jabberwock.cb.piermont.com"
      type="cite">
      <pre wrap="">Lenstra, Heninger and others have both shown mass breaks of keys based
on random number generator flaws in the field. Random number
generators have been the source of a huge number of breaks over time.

Perhaps you don't see the big worry, but real world experience says
it is something everyone else should worry about anyway.</pre>
    </blockquote>
    <br>
    Real world experience is that there is nothing to worry about <i>if
      you do it right</i>.  And that it is frequently not done right.<br>
    <br>
    When you screw up AES or such, your test vectors fail, your unit
    test fails, so you fix it, whereas if you screw up entropy,
    everything appears to work fine.<br>
    <br>
    It is hard, perhaps impossible, to have test suite that makes sure
    that your entropy collection works.<br>
    <br>
    One can, however, have a test suite that ascertains that on any two
    runs of the program, most items collected for entropy are different
    except for those that are expected to be the same, and that on any
    run, any item collected for entropy does make a difference.<br>
    <br>
    Does your unit test check your entropy collection?<br>
    <br>
  </body>
</html>