Searched refs:entropy (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_provider.c53 * entropy. It needs to be large enough to allow RNG operations to
57 * done without reseeding. We make sure we add 64 bits of entropy at
59 * of entropy at most once every 30000 operations. Normally, we stir
60 * in 64 bits of entropy for every number generated.
74 } entropy = {0}; local
85 * one word of entropy per call.
87 if ((rv = n2rng_getentropy(n2rng, (void *)&entropy.as64[1],
101 entropy.as64[1] = 0;
124 if (entropy.as64[1] == 0) {
126 * If we did not get any entropy, entropywor
[all...]
H A Dn2rng_entp_setup.c77 * entropy turned off. The first one we skip, becuase we have no
149 * This test runs the RNG with no entropy for
293 * runs of no entropy as a pair when they are nearly synchronized.)
294 * 2. The entropy of each cell is determined (for now) by the Renyi H2
295 * entropy of a collection of samples of raw bits.
297 * entropy, computed as stated above.
310 int rventropy = 0; /* EIO if entropy is too low */
376 "entropy (producing %ld, need %lld)",
407 /* Save bias and entropy results for kstats */
411 rng->n_bias_info[i].entropy
[all...]
H A Dn2rng_kstat.c96 "rng%d-cell%d-entropy", i, j);
196 rng->n_bias_info[j].entropy;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h134 uint64_t entropyhunger; /* RNGs generated with no entropy */
201 uint64_t entropy; member in struct:__anon10366

Completed in 46 milliseconds