<div dir="ltr"><div><div>Thank you Wim,<br><br></div>I'll take a look to the notes you linked. And talking about the entropy pool, do you know where in the code is the entropy pool filled with more entropy? I'm doing some searches looking for /dev/u?random (I still need to invest more time on this though), but it would be great if you can put me on the way.<br><br></div><div>Thank you,<br><br></div><div>Best regards,<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 24, 2015 at 10:34 PM, Wim Lewis <span dir="ltr"><<a href="mailto:wiml@omnigroup.com" target="_blank">wiml@omnigroup.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Aug 24, 2015, at 11:33 AM, David Luengo López <<a href="mailto:dluengo@rti.com">dluengo@rti.com</a>> wrote:<br>
> 439 #define DUMMY_SEED "...................." /* at least MD_DIGEST_LENGTH */<br>
> 440             /* Note that the seed does not matter, it's just that<br>
> 441              * ssleay_rand_add expects to have something to hash. */<br>
> 442             ssleay_rand_add(DUMMY_SEED, MD_DIGEST_LENGTH, 0.0);<br>
><br>
> I don't know why the 0.0 parameter, since we are not adding anything here I never get more entropy in the pool. Any explanation for this 0.0?<br>
<br>
</span>Because there is actually no entropy in DUMMY_SEED --- it's a constant. This piece of code is "stirring" the pool; it doesn't increase the amount of entropy (unpredictability) in the pool, it just makes sure that all the bits of the pool are equally unpredictable. Actual entropy must be added by some other piece of code.<br>
<span class=""><br>
> Anyone knows what does OPENSSL_SYS_VOS macro means?<br>
<br>
</span>The notes from the patch from Paul Green adding randomness support for VOS might have useful information for you:<br>
    <a href="https://rt.openssl.org/Ticket/Display.html?id=2563&user=guest&pass=guest" rel="noreferrer" target="_blank">https://rt.openssl.org/Ticket/Display.html?id=2563&user=guest&pass=guest</a><br>
<br>
(I do not know enough about VxWorks or VOS to say whether defining OPENSSL_SYS_VOS safely solves your problem, though it seems plausible)<br>
<br>
<br>
_______________________________________________<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><p><span style="font-size:10.0pt"><img src="cid:image001.png@01CEA80C.3A1239F0" alt="RTI" height="58" width="153"></span><span style="font-size:10.0pt" lang="ES"></span></p><p><b><span style="font-size:10.0pt;color:#0070c0" lang="ES">David Luengo López</span></b></p></div></div>
</div>