Symbol: crypto_rng
crypto/algif_rng.c
203
struct crypto_rng *rng;
crypto/algif_rng.c
56
struct crypto_rng *drng;
crypto/algif_rng.c
62
struct crypto_rng *drng;
crypto/algif_rng.c
73
static int _rng_recvmsg(struct crypto_rng *drng, struct msghdr *msg, size_t len,
crypto/drbg.c
1419
static void drbg_kcapi_set_entropy(struct crypto_rng *tfm,
crypto/drbg.c
1683
static int drbg_kcapi_random(struct crypto_rng *tfm,
crypto/drbg.c
1703
static int drbg_kcapi_seed(struct crypto_rng *tfm,
crypto/jitterentropy-kcapi.c
268
static int jent_kcapi_random(struct crypto_rng *tfm,
crypto/jitterentropy-kcapi.c
306
static int jent_kcapi_reset(struct crypto_rng *tfm,
crypto/rng.c
103
struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask)
crypto/rng.c
111
struct crypto_rng *rng;
crypto/rng.c
170
static void rng_default_set_ent(struct crypto_rng *tfm, const u8 *data,
crypto/rng.c
27
struct crypto_rng *crypto_default_rng;
crypto/rng.c
31
int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen)
crypto/rng.c
99
.tfmsize = offsetof(struct crypto_rng, base),
crypto/testmgr.c
3489
struct crypto_rng *drng;
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c
16
int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c
4
int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h
234
int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h
236
int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c
34
int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c
55
int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
401
int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
403
int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c
19
int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c
57
int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
303
int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
305
int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
drivers/crypto/amcc/crypto4xx_core.c
1117
static int crypto4xx_prng_generate(struct crypto_rng *tfm,
drivers/crypto/amcc/crypto4xx_core.c
1136
static int crypto4xx_prng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/caam/caamprng.c
145
static int caam_prng_seed(struct crypto_rng *tfm,
drivers/crypto/caam/caamprng.c
76
static int caam_prng_generate(struct crypto_rng *tfm,
drivers/crypto/exynos-rng.c
194
static int exynos_rng_generate(struct crypto_rng *tfm,
drivers/crypto/exynos-rng.c
225
static int exynos_rng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/hisilicon/trng/trng.c
104
static int hisi_trng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/hisilicon/trng/trng.c
177
static int hisi_trng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/loongson/loongson-rng.c
115
static int loongson_rng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/loongson/loongson-rng.c
54
static int loongson_rng_generate(struct crypto_rng *tfm, const u8 *src,
drivers/crypto/qcom-rng.c
110
static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed,
drivers/crypto/qcom-rng.c
85
static int qcom_rng_generate(struct crypto_rng *tfm,
drivers/crypto/xilinx/xilinx-trng.c
249
static int xtrng_trng_generate(struct crypto_rng *tfm, const u8 *src, u32 slen,
drivers/crypto/xilinx/xilinx-trng.c
262
static int xtrng_trng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen)
include/crypto/drbg.h
118
struct crypto_rng *jent;
include/crypto/drbg.h
185
static inline int crypto_drbg_get_bytes_addtl(struct crypto_rng *drng,
include/crypto/drbg.h
210
static inline int crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng,
include/crypto/drbg.h
235
static inline int crypto_drbg_reset_test(struct crypto_rng *drng,
include/crypto/internal/rng.h
29
static inline void *crypto_rng_ctx(struct crypto_rng *tfm)
include/crypto/internal/rng.h
34
static inline void crypto_rng_set_entropy(struct crypto_rng *tfm,
include/crypto/rng.h
110
static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm)
include/crypto/rng.h
121
static inline void crypto_free_rng(struct crypto_rng *tfm)
include/crypto/rng.h
140
static inline int crypto_rng_generate(struct crypto_rng *tfm,
include/crypto/rng.h
158
static inline int crypto_rng_get_bytes(struct crypto_rng *tfm,
include/crypto/rng.h
16
struct crypto_rng;
include/crypto/rng.h
180
int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed,
include/crypto/rng.h
195
static inline int crypto_rng_seedsize(struct crypto_rng *tfm)
include/crypto/rng.h
44
int (*generate)(struct crypto_rng *tfm,
include/crypto/rng.h
47
int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
include/crypto/rng.h
48
void (*set_ent)(struct crypto_rng *tfm, const u8 *data,
include/crypto/rng.h
60
extern struct crypto_rng *crypto_default_rng;
include/crypto/rng.h
92
struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask);
include/crypto/rng.h
94
static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm)