crypto_rng
struct crypto_rng *rng;
struct crypto_rng *drng;
struct crypto_rng *drng;
static int _rng_recvmsg(struct crypto_rng *drng, struct msghdr *msg, size_t len,
static void drbg_kcapi_set_entropy(struct crypto_rng *tfm,
static int drbg_kcapi_random(struct crypto_rng *tfm,
static int drbg_kcapi_seed(struct crypto_rng *tfm,
static int jent_kcapi_random(struct crypto_rng *tfm,
static int jent_kcapi_reset(struct crypto_rng *tfm,
struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask)
struct crypto_rng *rng;
static void rng_default_set_ent(struct crypto_rng *tfm, const u8 *data,
struct crypto_rng *crypto_default_rng;
int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen)
.tfmsize = offsetof(struct crypto_rng, base),
struct crypto_rng *drng;
int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed,
int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed,
int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src,
int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src,
int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed,
int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
static int crypto4xx_prng_generate(struct crypto_rng *tfm,
static int crypto4xx_prng_seed(struct crypto_rng *tfm, const u8 *seed,
static int caam_prng_seed(struct crypto_rng *tfm,
static int caam_prng_generate(struct crypto_rng *tfm,
static int exynos_rng_generate(struct crypto_rng *tfm,
static int exynos_rng_seed(struct crypto_rng *tfm, const u8 *seed,
static int hisi_trng_seed(struct crypto_rng *tfm, const u8 *seed,
static int hisi_trng_generate(struct crypto_rng *tfm, const u8 *src,
static int loongson_rng_seed(struct crypto_rng *tfm, const u8 *seed,
static int loongson_rng_generate(struct crypto_rng *tfm, const u8 *src,
static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed,
static int qcom_rng_generate(struct crypto_rng *tfm,
static int xtrng_trng_generate(struct crypto_rng *tfm, const u8 *src, u32 slen,
static int xtrng_trng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen)
struct crypto_rng *jent;
static inline int crypto_drbg_get_bytes_addtl(struct crypto_rng *drng,
static inline int crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng,
static inline int crypto_drbg_reset_test(struct crypto_rng *drng,
static inline void *crypto_rng_ctx(struct crypto_rng *tfm)
static inline void crypto_rng_set_entropy(struct crypto_rng *tfm,
static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm)
static inline void crypto_free_rng(struct crypto_rng *tfm)
static inline int crypto_rng_generate(struct crypto_rng *tfm,
static inline int crypto_rng_get_bytes(struct crypto_rng *tfm,
struct crypto_rng;
int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed,
static inline int crypto_rng_seedsize(struct crypto_rng *tfm)
int (*generate)(struct crypto_rng *tfm,
int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
void (*set_ent)(struct crypto_rng *tfm, const u8 *data,
extern struct crypto_rng *crypto_default_rng;
struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask);
static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm)