Lines Matching defs:seed
234 * @entropy buffer of seed data to be checked
421 struct drbg_string *seed = NULL;
433 list_for_each_entry(seed, seedlist, list)
434 inputlen += seed->len;
520 * 0 => initial seed from initialization
530 static int drbg_ctr_update(struct drbg_state *drbg, struct list_head *seed,
559 if (seed) {
560 ret = drbg_ctr_df(drbg, df_data, drbg_statelen(drbg), seed);
653 static int drbg_hmac_update(struct drbg_state *drbg, struct list_head *seed,
673 /* input data of seed is allowed to be NULL at this point */
674 if (seed)
675 list_splice_tail(seed, &seedlist);
697 if (!seed)
859 static int drbg_hash_update(struct drbg_state *drbg, struct list_head *seed,
869 if (!seed)
880 list_splice_tail(seed, &datalist);
1037 static inline int __drbg_seed(struct drbg_state *drbg, struct list_head *seed,
1040 int ret = drbg->d_ops->update(drbg, seed, reseed);
1055 * Require frequent reseeds until the seed source is
1119 * @reseed: 0 for initial seed process, 1 for reseeding
1160 /* Get seed from in-kernel /dev/urandom */
1173 /* Get seed from Jitter RNG */
1943 const u8 *seed, unsigned int slen)
1955 drbg_string_fill(&string, seed, slen);
1970 * Note: testing of failing seed source as defined in 11.3.2 is not applicable
1971 * as seed source of get_random_bytes does not fail.
2079 alg->seed = drbg_kcapi_seed;