summaryrefslogtreecommitdiff
path: root/toxcore/crypto_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/crypto_core.c')
-rw-r--r--toxcore/crypto_core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/toxcore/crypto_core.c b/toxcore/crypto_core.c
index 2ecac662..a71b3cb8 100644
--- a/toxcore/crypto_core.c
+++ b/toxcore/crypto_core.c
@@ -209,9 +209,3 @@ void new_symmetric_key(uint8_t *key)
209{ 209{
210 randombytes(key, crypto_box_KEYBYTES); 210 randombytes(key, crypto_box_KEYBYTES);
211} 211}
212
213/* Gives a nonce guaranteed to be different from previous ones.*/
214void new_nonce(uint8_t *nonce)
215{
216 random_nonce(nonce);
217}