aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion_fast.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-25 22:38:20 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 11:29:48 -0500
commit94cb7bd24d2ffda9038c267b3ee0837dd64ec903 (patch)
treeba8cdf4f424ff7d25afb46118bf7db0d94a35657 /src/or/onion_fast.c
parent5f219ddd029348df2d384fca5012d96957885cbc (diff)
downloadtor-94cb7bd24d2ffda9038c267b3ee0837dd64ec903.tar.gz
tor-94cb7bd24d2ffda9038c267b3ee0837dd64ec903.zip
Complete all DOCDOC entries from the ntor branch
Diffstat (limited to 'src/or/onion_fast.c')
-rw-r--r--src/or/onion_fast.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/onion_fast.c b/src/or/onion_fast.c
index f33b048c28..eb9eceba88 100644
--- a/src/or/onion_fast.c
+++ b/src/or/onion_fast.c
@@ -12,7 +12,7 @@
#include "or.h"
#include "onion_fast.h"
-/**DOCDOC*/
+/** Release all state held in <b>victim</b>. */
void
fast_handshake_state_free(fast_handshake_state_t *victim)
{
@@ -22,7 +22,8 @@ fast_handshake_state_free(fast_handshake_state_t *victim)
tor_free(victim);
}
-/** DOCDOC */
+/** Create the state needed to perform a CREATE_FAST hasnshake. Return 0
+ * on success, -1 on failure. */
int
fast_onionskin_create(fast_handshake_state_t **handshake_state_out,
uint8_t *handshake_out)