Lines Matching full:stuck
73 __u64 last_delta; /* SENSITIVE stuck test */
74 __s64 last_delta2; /* SENSITIVE stuck test */
91 unsigned int rct_count; /* Number of stuck values */
120 #define JENT_ESTUCK 8 /* Too many stuck results during init. */
245 * Stuck Test and its use as Repetition Count Test
249 * back-to-back values, the input to the RCT is the counting of the stuck
264 * @stuck [in] Indicator whether the value is stuck
266 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert() argument
268 if (stuck) { in jent_rct_insert()
308 * Stuck test by checking the:
319 * 0 jitter measurement not stuck (good bit)
320 * 1 jitter measurement stuck (reject bit)
337 /* RCT with a stuck bit */ in jent_stuck()
342 /* RCT with a non-stuck bit */ in jent_stuck()
418 * stuck [in] Is the time stamp identified as stuck?
423 static int jent_condition_data(struct rand_data *ec, __u64 time, int stuck) in jent_condition_data() argument
439 SHA3_HASH_LOOP, stuck); in jent_condition_data()
518 * @return result of stuck test
524 int stuck; in jent_measure_jitter() local
537 /* Check whether we have a stuck measurement. */ in jent_measure_jitter()
538 stuck = jent_stuck(ec, current_delta); in jent_measure_jitter()
541 if (jent_condition_data(ec, current_delta, stuck)) in jent_measure_jitter()
542 stuck = 1; in jent_measure_jitter()
548 return stuck; in jent_measure_jitter()
568 /* If a stuck measurement is received, repeat measurement */ in jent_gen_entropy()