Switch to an internal implementation of uuid generation, so we can use the randomness pool.

This commit is contained in:
Ian Gulliver
2016-02-22 16:27:44 -08:00
parent d03590439f
commit d6a629fa7e
14 changed files with 82 additions and 34 deletions

View File

@@ -83,14 +83,10 @@ uint32_t rssi_scale_out(uint32_t, uint32_t);
void hex_init();
void hex_to_bin(uint8_t *, const char *, size_t);
uint64_t hex_to_int(const char *, size_t);
void hex_from_bin(char *, const uint8_t *, size_t);
void hex_from_int(char *, uint64_t, size_t);
///////// uuid
#define UUID_LEN 37
void uuid_gen(char *);
void hex_from_bin_upper(char *, const uint8_t *, size_t);
void hex_from_bin_lower(char *, const uint8_t *, size_t);
void hex_from_int_upper(char *, uint64_t, size_t);
void hex_from_int_lower(char *, uint64_t, size_t);
///////// retry timing