more change for new ChibiOS/RT
This commit is contained in:
11
src/random.h
Normal file
11
src/random.h
Normal file
@@ -0,0 +1,11 @@
|
||||
void random_init (void);
|
||||
|
||||
/* 32-byte random bytes */
|
||||
const uint8_t *random_bytes_get (void);
|
||||
void random_bytes_free (const uint8_t *p);
|
||||
|
||||
/* 4-byte salt */
|
||||
uint32_t get_salt (void);
|
||||
|
||||
/* iterator returning a byta at a time */
|
||||
uint8_t random_byte (void *arg);
|
||||
Reference in New Issue
Block a user