Home
last modified time | relevance | path

Searched refs:osr (Results 1 – 2 of 2) sorted by relevance

/crypto/
A Djitterentropy.c77 unsigned int osr; /* Oversample rate */ member
189 if (osr >= ARRAY_SIZE(jent_apt_cutoff_lookup)) { in jent_apt_init()
195 ec->apt_cutoff = jent_apt_cutoff_lookup[osr - 1]; in jent_apt_init()
197 jent_apt_cutoff_permanent_lookup[osr - 1]; in jent_apt_init()
287 if ((unsigned int)ec->rct_count >= (60 * ec->osr)) { in jent_rct_insert()
290 } else if ((unsigned int)ec->rct_count >= (30 * ec->osr)) { in jent_rct_insert()
576 if (++k >= ((DATA_SIZE_BITS + safety_factor) * ec->osr)) in jent_gen_entropy()
684 if (osr == 0) in jent_entropy_collector_alloc()
685 osr = 1; /* H_submitter = 1 / osr */ in jent_entropy_collector_alloc()
686 entropy_collector->osr = osr; in jent_entropy_collector_alloc()
[all …]
A Djitterentropy.h14 extern int jent_entropy_init(unsigned int osr, unsigned int flags,
19 extern struct rand_data *jent_entropy_collector_alloc(unsigned int osr,

Completed in 5 milliseconds