/linux/include/crypto/ |
A D | rng.h | 14 struct crypto_rng; 42 int (*generate)(struct crypto_rng *tfm, 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 105 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 117 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() 136 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate() 160 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() 183 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, [all …]
|
A D | drbg.h | 135 struct crypto_rng *jent; 203 static inline int crypto_drbg_get_bytes_addtl(struct crypto_rng *drng, in crypto_drbg_get_bytes_addtl() 228 static inline int crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, in crypto_drbg_get_bytes_addtl_test() 253 static inline int crypto_drbg_reset_test(struct crypto_rng *drng, in crypto_drbg_reset_test()
|
/linux/crypto/ |
A D | rng.c | 27 struct crypto_rng *crypto_default_rng; 31 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) in crypto_rng_reset() 107 .tfmsize = offsetof(struct crypto_rng, base), 110 struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask) in crypto_alloc_rng() 118 struct crypto_rng *rng; in crypto_get_default_rng()
|
A D | algif_rng.c | 56 struct crypto_rng *drng; 62 struct crypto_rng *drng; 73 static int _rng_recvmsg(struct crypto_rng *drng, struct msghdr *msg, size_t len, in _rng_recvmsg() 205 struct crypto_rng *rng; in rng_bind()
|
A D | ansi_cprng.c | 349 static int cprng_get_random(struct crypto_rng *tfm, in cprng_get_random() 364 static int cprng_reset(struct crypto_rng *tfm, in cprng_reset() 385 static int fips_cprng_get_random(struct crypto_rng *tfm, in fips_cprng_get_random() 394 static int fips_cprng_reset(struct crypto_rng *tfm, in fips_cprng_reset()
|
A D | jitterentropy-kcapi.c | 138 static int jent_kcapi_random(struct crypto_rng *tfm, in jent_kcapi_random() 178 static int jent_kcapi_reset(struct crypto_rng *tfm, in jent_kcapi_reset()
|
A D | drbg.c | 1655 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, in drbg_kcapi_set_entropy() 1946 static int drbg_kcapi_random(struct crypto_rng *tfm, in drbg_kcapi_random() 1966 static int drbg_kcapi_seed(struct crypto_rng *tfm, in drbg_kcapi_seed()
|
A D | testmgr.c | 3442 static int test_cprng(struct crypto_rng *tfm, in test_cprng() 3620 struct crypto_rng *rng; in alg_test_cprng() 3642 struct crypto_rng *drng; in drbg_cavs_test()
|
/linux/include/crypto/internal/ |
A 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()
|
/linux/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-prng.c | 4 int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun4i_ss_prng_seed() 16 int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun4i_ss_prng_generate()
|
A D | sun4i-ss.h | 233 int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, 235 int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss.h | 293 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, 295 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
|
A D | sun8i-ss-prng.c | 17 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun8i_ss_prng_seed() 55 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun8i_ss_prng_generate()
|
/linux/drivers/crypto/ |
A D | qcom-rng.c | 71 static int qcom_rng_generate(struct crypto_rng *tfm, in qcom_rng_generate() 93 static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed, in qcom_rng_seed()
|
A D | exynos-rng.c | 194 static int exynos_rng_generate(struct crypto_rng *tfm, in exynos_rng_generate() 225 static int exynos_rng_seed(struct crypto_rng *tfm, const u8 *seed, in exynos_rng_seed()
|
/linux/drivers/crypto/allwinner/sun8i-ce/ |
A D | sun8i-ce-prng.c | 34 int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun8i_ce_prng_seed() 55 int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun8i_ce_prng_generate()
|
A D | sun8i-ce.h | 369 int sun8i_ce_prng_generate(struct crypto_rng *tfm, const u8 *src, 371 int sun8i_ce_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
|
/linux/drivers/crypto/hisilicon/trng/ |
A D | trng.c | 83 static int hisi_trng_seed(struct crypto_rng *tfm, const u8 *seed, in hisi_trng_seed() 112 static int hisi_trng_generate(struct crypto_rng *tfm, const u8 *src, in hisi_trng_generate()
|
/linux/Documentation/crypto/ |
A D | api-samples.rst | 161 struct crypto_rng *rng = NULL;
|
/linux/drivers/crypto/amcc/ |
A D | crypto4xx_core.c | 1164 static int crypto4xx_prng_generate(struct crypto_rng *tfm, in crypto4xx_prng_generate() 1183 static int crypto4xx_prng_seed(struct crypto_rng *tfm, const u8 *seed, in crypto4xx_prng_seed()
|