summaryrefslogtreecommitdiff
path: root/toxcore/onion_announce.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-03-05 16:54:17 -0500
committerirungentoo <irungentoo@gmail.com>2014-03-05 16:54:17 -0500
commit3bcc6e2ae547ae77f14d7d140a363cc2cc01f01a (patch)
tree77d88f12335573afcb61238d74828a4e131222a6 /toxcore/onion_announce.h
parent3a1f259cb9f939ceeb6d8794873a9bf683c2e730 (diff)
CPU optimizations.
Use get_shared_key() in more places.
Diffstat (limited to 'toxcore/onion_announce.h')
-rw-r--r--toxcore/onion_announce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/onion_announce.h b/toxcore/onion_announce.h
index 24240436..eaaee43f 100644
--- a/toxcore/onion_announce.h
+++ b/toxcore/onion_announce.h
@@ -54,6 +54,8 @@ typedef struct {
54 Onion_Announce_Entry entries[ONION_ANNOUNCE_MAX_ENTRIES]; 54 Onion_Announce_Entry entries[ONION_ANNOUNCE_MAX_ENTRIES];
55 /* This is crypto_secretbox_KEYBYTES long just so we can use new_symmetric_key() to fill it */ 55 /* This is crypto_secretbox_KEYBYTES long just so we can use new_symmetric_key() to fill it */
56 uint8_t secret_bytes[crypto_secretbox_KEYBYTES]; 56 uint8_t secret_bytes[crypto_secretbox_KEYBYTES];
57
58 Shared_Keys shared_keys_recv;
57} Onion_Announce; 59} Onion_Announce;
58 60
59/* Create and send an onion announce request packet. 61/* Create and send an onion announce request packet.