more change for new ChibiOS/RT

This commit is contained in:
NIIBE Yutaka
2013-02-18 15:07:13 +09:00
parent 427dd5e5bf
commit daeac800d8
20 changed files with 8574 additions and 28 deletions

11
src/random.h Normal file
View 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);