Home
last modified time | relevance | path

Searched defs:rng (Results 1 – 5 of 5) sorted by relevance

/crypto/
Djitterentropy-kcapi.c105 struct jitterentropy *rng = crypto_tfm_ctx(tfm); in jent_kcapi_init() local
118 struct jitterentropy *rng = crypto_tfm_ctx(tfm); in jent_kcapi_cleanup() local
131 struct jitterentropy *rng = crypto_rng_ctx(tfm); in jent_kcapi_random() local
Dtestmgr.c862 static inline void init_rnd_state(struct rnd_state *rng) in init_rnd_state()
867 static inline u8 prandom_u8(struct rnd_state *rng) in prandom_u8()
872 static inline u32 prandom_u32_below(struct rnd_state *rng, u32 ceil) in prandom_u32_below()
881 static inline bool prandom_bool(struct rnd_state *rng) in prandom_bool()
886 static inline u32 prandom_u32_inclusive(struct rnd_state *rng, in prandom_u32_inclusive()
893 static unsigned int generate_random_length(struct rnd_state *rng, in generate_random_length()
911 static void flip_random_bit(struct rnd_state *rng, u8 *buf, size_t size) in flip_random_bit()
920 static void flip_random_byte(struct rnd_state *rng, u8 *buf, size_t size) in flip_random_byte()
926 static void mutate_buffer(struct rnd_state *rng, u8 *buf, size_t size) in mutate_buffer()
948 static void generate_random_bytes(struct rnd_state *rng, u8 *buf, size_t count) in generate_random_bytes()
[all …]
Drng.c118 struct crypto_rng *rng; in crypto_get_default_rng() local
Dalgif_rng.c205 struct crypto_rng *rng; in rng_bind() local
Dfips140-selftests.c467 struct crypto_rng *rng; in fips_test_drbg() local