Searched defs:rng (Results 1 - 25 of 92) sorted by path

1234

/linux-master/drivers/crypto/amcc/
H A Dcrypto4xx_trng.c28 static int ppc4xx_trng_data_present(struct hwrng *rng, int wait) argument
45 static int ppc4xx_trng_data_read(struct hwrng *rng, u32 *data) argument
75 struct hwrng *rng = NULL; local
[all...]
/linux-master/include/uapi/linux/
H A Dsynclink.h214 __u32 cts, dsr, rng, dcd, tx, rx; member in struct:mgsl_icount
/linux-master/arch/powerpc/platforms/powernv/
H A Drng.c32 static unsigned long rng_whiten(struct pnv_rng *rng, unsigned long val) argument
86 struct pnv_rng *rng; local
100 rng_init_per_cpu(struct pnv_rng *rng, struct device_node *dn) argument
119 struct pnv_rng *rng; local
[all...]
/linux-master/arch/um/drivers/
H A Drandom.c34 static int rng_dev_read(struct hwrng *rng, void *buf, size_t max, bool block) argument
/linux-master/crypto/
H A Dalgif_rng.c203 struct crypto_rng *rng; local
H A Djitterentropy-kcapi.c203 struct jitterentropy *rng = crypto_tfm_ctx(tfm); local
225 struct jitterentropy *rng = crypto_tfm_ctx(tfm); local
279 struct jitterentropy *rng = crypto_rng_ctx(tfm); local
[all...]
H A Drng.c97 struct rng_alg *rng = __crypto_rng_alg(alg); local
141 struct crypto_rng *rng; local
[all...]
H A Dtestmgr.c868 static inline void init_rnd_state(struct rnd_state *rng) argument
873 static inline u8 prandom_u8(struct rnd_state *rng) argument
878 static inline u32 prandom_u32_below(struct rnd_state *rng, u32 ceil) argument
887 static inline bool prandom_bool(struct rnd_state *rng) argument
892 static inline u32 prandom_u32_inclusive(struct rnd_state *rng, argument
899 generate_random_length(struct rnd_state *rng, unsigned int max_len) argument
917 flip_random_bit(struct rnd_state *rng, u8 *buf, size_t size) argument
926 flip_random_byte(struct rnd_state *rng, u8 *buf, size_t size) argument
932 mutate_buffer(struct rnd_state *rng, u8 *buf, size_t size) argument
954 generate_random_bytes(struct rnd_state *rng, u8 *buf, size_t count) argument
995 generate_random_sgl_divisions(struct rnd_state *rng, struct test_sg_division *divs, size_t max_divs, char *p, char *end, bool gen_flushes, u32 req_flags) argument
1073 generate_random_testvec_config(struct rnd_state *rng, struct testvec_config *cfg, char *name, size_t max_namelen) argument
1662 struct rnd_state rng; local
1687 generate_random_hash_testvec(struct rnd_state *rng, struct shash_desc *desc, struct hash_testvec *vec, unsigned int maxkeysize, unsigned int maxdatasize, char *name, size_t max_namelen) argument
1742 struct rnd_state rng; local
2232 struct rnd_state rng; local
2255 struct rnd_state rng; member in struct:aead_extra_tests_ctx
2274 mutate_aead_message(struct rnd_state *rng, struct aead_testvec *vec, bool aad_iv, unsigned int ivsize) argument
2304 generate_aead_message(struct rnd_state *rng, struct aead_request *req, const struct aead_test_suite *suite, struct aead_testvec *vec, bool prefer_inauthentic) argument
2371 generate_random_aead_testvec(struct rnd_state *rng, struct aead_request *req, struct aead_testvec *vec, const struct aead_test_suite *suite, unsigned int maxkeysize, unsigned int maxdatasize, char *name, size_t max_namelen, bool prefer_inauthentic) argument
2992 struct rnd_state rng; local
3017 generate_random_cipher_testvec(struct rnd_state *rng, struct skcipher_request *req, struct cipher_testvec *vec, unsigned int maxdatasize, char *name, size_t max_namelen) argument
3084 struct rnd_state rng; local
3776 struct crypto_rng *rng; local
[all...]
/linux-master/drivers/char/hw_random/
H A DMakefile[all...]
H A Damd-rng.c62 static int amd_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
95 static int amd_rng_init(struct hwrng *rng) argument
111 static void amd_rng_cleanup(struct hwrng *rng) argument
H A Darm_smccc_trng.c62 static int smccc_trng_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
H A Datmel-rng.c39 struct hwrng rng; member in struct:atmel_trng
55 static int atmel_trng_read(struct hwrng *rng, void *buf, size_t max, argument
[all...]
H A Dba431-rng.c42 struct hwrng rng; member in struct:ba431_trng
115 static int ba431_trng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
155 static void ba431_trng_cleanup(struct hwrng *rng) argument
163 static int ba431_trng_init(struct hwrng *rng) argument
[all...]
H A Dbcm2835-rng.c31 struct hwrng rng; member in struct:bcm2835_rng_priv
38 static inline struct bcm2835_rng_priv *to_rng_priv(struct hwrng *rng) argument
63 static int bcm2835_rng_read(struct hwrng *rng, void *buf, size_t max, argument
86 static int bcm2835_rng_init(struct hwrng *rng) argument
114 bcm2835_rng_cleanup(struct hwrng *rng) argument
[all...]
H A Dcavium-rng-vf.c82 static int check_rng_health(struct cavium_rng *rng) argument
146 cavium_rng_read(struct hwrng *rng, void *dat, size_t max, bool wait) argument
169 cavium_map_pf_regs(struct cavium_rng *rng) argument
206 struct cavium_rng *rng; local
248 struct cavium_rng *rng; local
[all...]
H A Dcavium-rng.c26 struct cavium_rng_pf *rng; local
64 struct cavium_rng_pf *rng; local
[all...]
H A Dcctrng.c55 struct hwrng rng; member in struct:cctrng_drvdata
210 static int cctrng_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
H A Dcn10k-rng.c69 static unsigned long reset_rng_health_state(struct cn10k_rng *rng) argument
78 static int check_rng_health(struct cn10k_rng *rng) argument
102 static bool cn10k_read_trng(struct cn10k_rng *rng, u64 *value) argument
140 struct cn10k_rng *rng = (struct cn10k_rng *)hwrng->priv; local
179 struct cn10k_rng *rng; local
[all...]
H A Dcore.c67 static void add_early_randomness(struct hwrng *rng) argument
82 struct hwrng *rng = container_of(kref, struct hwrng, ref); local
90 set_current_rng(struct hwrng *rng) argument
137 struct hwrng *rng; local
148 put_rng(struct hwrng *rng) argument
160 hwrng_init(struct hwrng *rng) argument
193 rng_get_data(struct hwrng *rng, u8 *buffer, size_t size, int wait) argument
219 struct hwrng *rng; local
313 struct hwrng *rng, *new_rng = NULL; local
343 struct hwrng *rng, *old_rng, *new_rng; local
379 struct hwrng *rng; local
396 struct hwrng *rng; local
424 struct hwrng *rng; local
507 struct hwrng *rng; local
543 hwrng_register(struct hwrng *rng) argument
603 hwrng_unregister(struct hwrng *rng) argument
654 devm_hwrng_register(struct device *dev, struct hwrng *rng) argument
675 devm_hwrng_unregister(struct device *dev, struct hwrng *rng) argument
681 hwrng_msleep(struct hwrng *rng, unsigned int msecs) argument
689 hwrng_yield(struct hwrng *rng) argument
[all...]
H A Dexynos-trng.c52 struct hwrng rng; member in struct:exynos_trng_dev
55 static int exynos_trng_do_read(struct hwrng *rng, void *data, size_t max, argument
76 static int exynos_trng_init(struct hwrng *rng) argument
[all...]
H A Dgeode-rng.c59 static int geode_rng_data_read(struct hwrng *rng, u32 *data) argument
69 static int geode_rng_data_present(struct hwrng *rng, int wait) argument
H A Dhisi-rng.c31 struct hwrng rng; member in struct:hisi_rng
34 static int hisi_rng_init(struct hwrng *rng) argument
57 static void hisi_rng_cleanup(struct hwrng *rng) argument
64 static int hisi_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
75 struct hisi_rng *rng; local
[all...]
H A Dhistb-rng.c25 struct hwrng rng; member in struct:histb_rng_priv
60 static int histb_rng_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
H A Dimx-rngc.c64 struct hwrng rng; member in struct:imx_rngc
122 static int imx_rngc_read(struct hwrng *rng, void *data, size_t max, bool wait) argument
168 static int imx_rngc_init(struct hwrng *rng) argument
220 static void imx_rngc_cleanup(struct hwrng *rng) argument
[all...]
H A Dingenic-rng.c36 struct hwrng rng; member in struct:ingenic_rng
39 static int ingenic_rng_init(struct hwrng *rng) argument
48 static void ingenic_rng_cleanup(struct hwrng *rng) argument
55 static int ingenic_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) argument
[all...]

Completed in 379 milliseconds

1234