Searched refs:crypto_rng (Results 1 – 3 of 3) sorted by relevance
/include/crypto/ |
D | rng.h | 14 struct crypto_rng; 42 int (*generate)(struct crypto_rng *tfm, 45 int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); 46 void (*set_ent)(struct crypto_rng *tfm, const u8 *data, 54 struct crypto_rng { struct 58 extern struct crypto_rng *crypto_default_rng; argument 90 struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask); 92 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 105 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 115 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() [all …]
|
D | drbg.h | 135 struct crypto_rng *jent; 207 static inline int crypto_drbg_get_bytes_addtl(struct crypto_rng *drng, in crypto_drbg_get_bytes_addtl() 232 static inline int crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, in crypto_drbg_get_bytes_addtl_test() 257 static inline int crypto_drbg_reset_test(struct crypto_rng *drng, in crypto_drbg_reset_test()
|
/include/crypto/internal/ |
D | rng.h | 29 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) in crypto_rng_ctx() 34 static inline void crypto_rng_set_entropy(struct crypto_rng *tfm, in crypto_rng_set_entropy()
|