Lines Matching defs:seed
236 * @entropy buffer of seed data to be checked
423 struct drbg_string *seed = NULL;
435 list_for_each_entry(seed, seedlist, list)
436 inputlen += seed->len;
522 * 0 => initial seed from initialization
532 static int drbg_ctr_update(struct drbg_state *drbg, struct list_head *seed,
561 if (seed) {
562 ret = drbg_ctr_df(drbg, df_data, drbg_statelen(drbg), seed);
655 static int drbg_hmac_update(struct drbg_state *drbg, struct list_head *seed,
675 /* input data of seed is allowed to be NULL at this point */
676 if (seed)
677 list_splice_tail(seed, &seedlist);
699 if (!seed)
861 static int drbg_hash_update(struct drbg_state *drbg, struct list_head *seed,
871 if (!seed)
882 list_splice_tail(seed, &datalist);
1039 static inline int __drbg_seed(struct drbg_state *drbg, struct list_head *seed,
1042 int ret = drbg->d_ops->update(drbg, seed, reseed);
1058 * Require frequent reseeds until the seed source is
1142 * @reseed: 0 for initial seed process, 1 for reseeding
1183 /* Get seed from in-kernel /dev/urandom */
1197 * Get seed from Jitter RNG, failures are
1969 const u8 *seed, unsigned int slen)
1981 drbg_string_fill(&string, seed, slen);
1996 * Note: testing of failing seed source as defined in 11.3.2 is not applicable
1997 * as seed source of get_random_bytes does not fail.
2105 alg->seed = drbg_kcapi_seed;