Lines Matching defs:crypto_rng
16 struct crypto_rng;
59 int (*generate)(struct crypto_rng *tfm,
62 int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
63 void (*set_ent)(struct crypto_rng *tfm, const u8 *data,
75 struct crypto_rng {
79 extern struct crypto_rng *crypto_default_rng;
99 * crypto_rng is the cipher handle that is required for any subsequent
111 struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask);
113 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm)
131 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm)
142 static inline void crypto_free_rng(struct crypto_rng *tfm)
181 static inline int crypto_rng_generate(struct crypto_rng *tfm,
209 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm,
232 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed,
247 static inline int crypto_rng_seedsize(struct crypto_rng *tfm)