| /linux/include/crypto/ |
| H A D | rng.h | 16 struct crypto_rng; 44 int (*generate)(struct crypto_rng *tfm, 47 int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); 48 void (*set_ent)(struct crypto_rng *tfm, const u8 *data, 56 struct crypto_rng { struct 60 extern struct crypto_rng *crypto_default_rng; argument 92 struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask); 94 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 110 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 121 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() [all …]
|
| H A D | drbg.h | 118 struct crypto_rng *jent; 185 static inline int crypto_drbg_get_bytes_addtl(struct crypto_rng *drng, in crypto_drbg_get_bytes_addtl() 210 static inline int crypto_drbg_get_bytes_addtl_test(struct crypto_rng *drng, in crypto_drbg_get_bytes_addtl_test() 235 static inline int crypto_drbg_reset_test(struct crypto_rng *drng, in crypto_drbg_reset_test()
|
| /linux/include/crypto/internal/ |
| H 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/crypto/ |
| H 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() 203 struct crypto_rng *rng; in rng_bind()
|
| H A D | jitterentropy-kcapi.c | 268 static int jent_kcapi_random(struct crypto_rng *tfm, in jent_kcapi_random() 306 static int jent_kcapi_reset(struct crypto_rng *tfm, in jent_kcapi_reset()
|
| H A D | drbg.c | 1429 static void drbg_kcapi_set_entropy(struct crypto_rng *tfm, in drbg_kcapi_set_entropy() 1693 static int drbg_kcapi_random(struct crypto_rng *tfm, in drbg_kcapi_random() 1713 static int drbg_kcapi_seed(struct crypto_rng *tfm, in drbg_kcapi_seed()
|
| H A D | testmgr.c | 3489 struct crypto_rng *drng; in drbg_cavs_test()
|
| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| H 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()
|
| H A D | sun4i-ss.h | 234 int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, 236 int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss.h | 301 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, 303 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen);
|
| H A D | sun8i-ss-prng.c | 19 int sun8i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, in sun8i_ss_prng_seed() 57 int sun8i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src, in sun8i_ss_prng_generate()
|
| /linux/drivers/crypto/caam/ |
| H A D | caamprng.c | 76 static int caam_prng_generate(struct crypto_rng *tfm, in caam_prng_generate() 145 static int caam_prng_seed(struct crypto_rng *tfm, in caam_prng_seed()
|
| /linux/drivers/crypto/ |
| H A D | qcom-rng.c | 85 static int qcom_rng_generate(struct crypto_rng *tfm, in qcom_rng_generate() 110 static int qcom_rng_seed(struct crypto_rng *tfm, const u8 *seed, in qcom_rng_seed()
|
| /linux/drivers/crypto/hisilicon/trng/ |
| H 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/drivers/crypto/xilinx/ |
| H A D | xilinx-trng.c | 249 static int xtrng_trng_generate(struct crypto_rng *tfm, const u8 *src, u32 slen, in xtrng_trng_generate() 262 static int xtrng_trng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) in xtrng_trng_seed()
|
| /linux/Documentation/crypto/ |
| H A D | api-samples.rst | 161 struct crypto_rng *rng = NULL;
|