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. */
170 * Stuck Test and its use as Repetition Count Test
174 * back-to-back values, the input to the RCT is the counting of the stuck
189 * @stuck [in] Indicator whether the value is stuck
191 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert() argument
200 if (stuck) { in jent_rct_insert()
250 * Stuck test by checking the:
261 * 0 jitter measurement not stuck (good bit)
262 * 1 jitter measurement stuck (reject bit)
279 /* RCT with a stuck bit */ in jent_stuck()
284 /* RCT with a non-stuck bit */ in jent_stuck()
373 * @stuck [in] Is the time stamp identified as stuck?
381 int stuck) in jent_lfsr_time() argument
426 * If the time stamp is stuck, do not finally insert the value into in jent_lfsr_time()
433 if (!stuck) in jent_lfsr_time()
513 * @return result of stuck test
519 int stuck; in jent_measure_jitter() local
532 /* Check whether we have a stuck measurement. */ in jent_measure_jitter()
533 stuck = jent_stuck(ec, current_delta); in jent_measure_jitter()
536 jent_lfsr_time(ec, current_delta, 0, stuck); in jent_measure_jitter()
538 return stuck; in jent_measure_jitter()
555 /* If a stuck measurement is received, repeat measurement */ in jent_gen_entropy()
742 int stuck; in jent_entropy_init() local
762 stuck = jent_stuck(&ec, delta); in jent_entropy_init()
774 if (stuck) in jent_entropy_init()
848 * If we have more than 90% stuck results, then this Jitter RNG is in jent_entropy_init()