Lines Matching defs:entropy
11 The data and entropy estimates provided below are based on my
13 rigorous study, and the entropy estimates tend to be optimistic.
34 One nice feature is that it explicitly estimates the entropy
51 X). Incidentally, the EGD library is based on the UNIX entropy
116 entropy if the system clock is regularly calibrated.
126 obtaining high entropy data on the Mac.
134 entropy of log2(6*6) ~= 5 bits per measurement.
140 second, giving an entropy of log2 (60*5) ~= 8 bits per
190 extern "C" void RAND_add (const void *buf, int num, double entropy);
239 // Add initial entropy
249 AddNow (0.0); // Should have a better entropy estimate here
276 double entropy;
280 // coarse, assume the entropy is 0.
285 entropy = log2l
287 if (entropy < 0.0)
288 entropy = 0.0;
289 AddBytes (&mMouseStill, sizeof (mMouseStill), entropy);
351 // Base the entropy on the amount of space used on the disk and
354 // comments for entropy estimate justifications.
368 OpenSSL the 128 bits of entropy it desires. AddFiller adds some
404 // real entropy estimate, and hope for the best.
413 void CRandomizer::AddBytes (void *data, long size, double entropy)
415 RAND_add (data, size, entropy * 0.125); // Convert entropy bits