mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-27 18:22:18 -04:00
manually specialize the CSPRNG cache
This commit is contained in:
parent
c41e659383
commit
700e06c2db
2 changed files with 20 additions and 25 deletions
1
random.h
1
random.h
|
@ -16,7 +16,6 @@ struct random_state {
|
|||
};
|
||||
|
||||
void random_state_init(struct random_state *state);
|
||||
void get_random_bytes(struct random_state *state, void *buf, size_t size);
|
||||
uint16_t get_random_u16(struct random_state *state);
|
||||
uint16_t get_random_u16_uniform(struct random_state *state, uint16_t bound);
|
||||
uint64_t get_random_u64(struct random_state *state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue