Home
last modified time | relevance | path

Searched refs:crypto_rng (Results 1 – 3 of 3) sorted by relevance

/include/crypto/
Drng.h18 extern struct crypto_rng *crypto_default_rng;
23 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) in __crypto_rng_cast()
25 return (struct crypto_rng *)tfm; in __crypto_rng_cast()
28 static inline struct crypto_rng *crypto_alloc_rng(const char *alg_name, in crypto_alloc_rng()
38 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm()
43 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg()
48 static inline struct rng_tfm *crypto_rng_crt(struct crypto_rng *tfm) in crypto_rng_crt()
53 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng()
58 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes()
64 static inline int crypto_rng_reset(struct crypto_rng *tfm, in crypto_rng_reset()
[all …]
/include/crypto/internal/
Drng.h21 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) in crypto_rng_ctx()
/include/linux/
Dcrypto.h118 struct crypto_rng;
306 int (*rng_make_random)(struct crypto_rng *tfm, u8 *rdata,
308 int (*rng_reset)(struct crypto_rng *tfm, u8 *seed, unsigned int slen);
457 int (*rng_gen_random)(struct crypto_rng *tfm, u8 *rdata,
459 int (*rng_reset)(struct crypto_rng *tfm, u8 *seed, unsigned int slen);
517 struct crypto_rng { struct