aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion_tap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/onion_tap.h')
-rw-r--r--src/or/onion_tap.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/or/onion_tap.h b/src/or/onion_tap.h
index 5b1eacce70..9a3df684d6 100644
--- a/src/or/onion_tap.h
+++ b/src/or/onion_tap.h
@@ -17,22 +17,24 @@
DH1024_KEY_LEN)
#define TAP_ONIONSKIN_REPLY_LEN (DH1024_KEY_LEN+DIGEST_LEN)
-int onion_skin_TAP_create(crypto_pk_t *router_key,
- crypto_dh_t **handshake_state_out,
+struct crypto_dh_t;
+struct crypto_pk_t;
+
+int onion_skin_TAP_create(struct crypto_pk_t *router_key,
+ struct crypto_dh_t **handshake_state_out,
char *onion_skin_out);
int onion_skin_TAP_server_handshake(const char *onion_skin,
- crypto_pk_t *private_key,
- crypto_pk_t *prev_private_key,
+ struct crypto_pk_t *private_key,
+ struct crypto_pk_t *prev_private_key,
char *handshake_reply_out,
char *key_out,
size_t key_out_len);
-int onion_skin_TAP_client_handshake(crypto_dh_t *handshake_state,
+int onion_skin_TAP_client_handshake(struct crypto_dh_t *handshake_state,
const char *handshake_reply,
char *key_out,
size_t key_out_len,
const char **msg_out);
#endif /* !defined(TOR_ONION_TAP_H) */
-