Lines Matching refs:rnd_state
870 static inline void init_rnd_state(struct rnd_state *rng) in init_rnd_state()
875 static inline u8 prandom_u8(struct rnd_state *rng) in prandom_u8()
880 static inline u32 prandom_u32_below(struct rnd_state *rng, u32 ceil) in prandom_u32_below()
889 static inline bool prandom_bool(struct rnd_state *rng) in prandom_bool()
894 static inline u32 prandom_u32_inclusive(struct rnd_state *rng, in prandom_u32_inclusive()
901 static unsigned int generate_random_length(struct rnd_state *rng, in generate_random_length()
919 static void flip_random_bit(struct rnd_state *rng, u8 *buf, size_t size) in flip_random_bit()
928 static void flip_random_byte(struct rnd_state *rng, u8 *buf, size_t size) in flip_random_byte()
934 static void mutate_buffer(struct rnd_state *rng, u8 *buf, size_t size) in mutate_buffer()
956 static void generate_random_bytes(struct rnd_state *rng, u8 *buf, size_t count) in generate_random_bytes()
997 static char *generate_random_sgl_divisions(struct rnd_state *rng, in generate_random_sgl_divisions()
1075 static void generate_random_testvec_config(struct rnd_state *rng, in generate_random_testvec_config()
1666 struct rnd_state rng; in test_hash_vec()
1691 static void generate_random_hash_testvec(struct rnd_state *rng, in generate_random_hash_testvec()
1746 struct rnd_state rng; in test_hash_vs_generic_impl()
2236 struct rnd_state rng; in test_aead_vec()
2259 struct rnd_state rng;
2278 static void mutate_aead_message(struct rnd_state *rng, in mutate_aead_message()
2308 static void generate_aead_message(struct rnd_state *rng, in generate_aead_message()
2375 static void generate_random_aead_testvec(struct rnd_state *rng, in generate_random_aead_testvec()
2996 struct rnd_state rng; in test_skcipher_vec()
3021 static void generate_random_cipher_testvec(struct rnd_state *rng, in generate_random_cipher_testvec()
3088 struct rnd_state rng; in test_skcipher_vs_generic_impl()