diff options
Diffstat (limited to 'toxcore/crypto_core.h')
-rw-r--r-- | toxcore/crypto_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/crypto_core.h b/toxcore/crypto_core.h index 2c83fd25..e7e913b6 100644 --- a/toxcore/crypto_core.h +++ b/toxcore/crypto_core.h | |||
@@ -127,6 +127,11 @@ void crypto_sha512(uint8_t *hash, const uint8_t *data, size_t length); | |||
127 | int32_t public_key_cmp(const uint8_t *pk1, const uint8_t *pk2); | 127 | int32_t public_key_cmp(const uint8_t *pk1, const uint8_t *pk2); |
128 | 128 | ||
129 | /** | 129 | /** |
130 | * Return a random 8 bit integer. | ||
131 | */ | ||
132 | uint8_t random_u08(void); | ||
133 | |||
134 | /** | ||
130 | * Return a random 16 bit integer. | 135 | * Return a random 16 bit integer. |
131 | */ | 136 | */ |
132 | uint16_t random_u16(void); | 137 | uint16_t random_u16(void); |