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

/opensolaris-onvv-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;
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/rand/
H A Dmd_rand.c141 static double entropy=0; variable
186 entropy=0;
302 * much entropy as fits into md. */
307 if (entropy < ENTROPY_NEEDED) /* stop counting when we have enough */
308 entropy += add;
388 ok = (entropy >= ENTROPY_NEEDED);
393 * state; thus we have to decrease the entropy estimate.
395 * adjust the entropy count, though, because we're not ambitious
399 * we have enough entropy. Entropy should be collected
401 * output pool only when the entropy limi
[all...]
H A Drand.h86 void (*add)(const void *buf, int num, double entropy);
105 void RAND_add(const void *buf,int num,double entropy);
H A Drand_lib.c147 void RAND_add(const void *buf, int num, double entropy) argument
151 meth->add(buf,num,entropy);
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dllib-lopenbsd-compat45 #include <entropy.h>
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/
H A DMakefile.com46 entropy.o \
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dllib-lssh61 #include <entropy.h>
/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h139 uint64_t entropyhunger; /* RNGs generated with no entropy */
206 uint64_t entropy; member in struct:__anon10454

Completed in 66 milliseconds