Lines Matching full:stuck
72 __u64 last_delta; /* SENSITIVE stuck test */
73 __s64 last_delta2; /* SENSITIVE stuck test */
88 int rct_count; /* Number of stuck values */
116 #define JENT_ESTUCK 8 /* Too many stuck results during init. */
186 * Stuck Test and its use as Repetition Count Test
190 * back-to-back values, the input to the RCT is the counting of the stuck
205 * @stuck [in] Indicator whether the value is stuck
207 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert() argument
216 if (stuck) { in jent_rct_insert()
266 * Stuck test by checking the:
277 * 0 jitter measurement not stuck (good bit)
278 * 1 jitter measurement stuck (reject bit)
295 /* RCT with a stuck bit */ in jent_stuck()
300 /* RCT with a non-stuck bit */ in jent_stuck()
385 * @stuck [in] Is the time stamp identified as stuck?
393 int stuck) in jent_lfsr_time() argument
438 * If the time stamp is stuck, do not finally insert the value into in jent_lfsr_time()
445 if (!stuck) in jent_lfsr_time()
525 * @return result of stuck test
531 int stuck; in jent_measure_jitter() local
544 /* Check whether we have a stuck measurement. */ in jent_measure_jitter()
545 stuck = jent_stuck(ec, current_delta); in jent_measure_jitter()
548 jent_lfsr_time(ec, current_delta, 0, stuck); in jent_measure_jitter()
550 return stuck; in jent_measure_jitter()
570 /* If a stuck measurement is received, repeat measurement */ in jent_gen_entropy()
757 int stuck; in jent_entropy_init() local
777 stuck = jent_stuck(&ec, delta); in jent_entropy_init()
789 if (stuck) in jent_entropy_init()
863 * If we have more than 90% stuck results, then this Jitter RNG is in jent_entropy_init()