diff options
Diffstat (limited to 'include/linux/random.h')
| -rw-r--r-- | include/linux/random.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/random.h b/include/linux/random.h index 5117ae348fe8..8ef0b70bd1f9 100644 --- a/include/linux/random.h +++ b/include/linux/random.h | |||
| @@ -31,6 +31,10 @@ void prandom_bytes(void *buf, int nbytes); | |||
| 31 | void prandom_seed(u32 seed); | 31 | void prandom_seed(u32 seed); |
| 32 | void prandom_reseed_late(void); | 32 | void prandom_reseed_late(void); |
| 33 | 33 | ||
| 34 | struct rnd_state { | ||
| 35 | __u32 s1, s2, s3; | ||
| 36 | }; | ||
| 37 | |||
| 34 | u32 prandom_u32_state(struct rnd_state *); | 38 | u32 prandom_u32_state(struct rnd_state *); |
| 35 | void prandom_bytes_state(struct rnd_state *state, void *buf, int nbytes); | 39 | void prandom_bytes_state(struct rnd_state *state, void *buf, int nbytes); |
| 36 | 40 | ||
