diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-14 14:44:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-10 23:14:16 -0400 |
commit | 81024f43ec3a3ab32683764cb925606bfcb603d7 (patch) | |
tree | 0d0e12a346d49d044b936f042c42b564c399bd3f /src/or/connection_or.h | |
parent | e48e47fa03fa09d89527c1bbfaee4c9d7d3eee6e (diff) | |
download | tor-81024f43ec3a3ab32683764cb925606bfcb603d7.tar.gz tor-81024f43ec3a3ab32683764cb925606bfcb603d7.zip |
Basic function to write authenticate cells
Also, tweak the cert cell code to send auth certs
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 6e50e29e40..ba441c45df 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -52,6 +52,11 @@ int connection_or_send_destroy(circid_t circ_id, or_connection_t *conn, int connection_or_send_netinfo(or_connection_t *conn); int connection_or_send_cert_cell(or_connection_t *conn); int connection_or_send_auth_challenge_cell(or_connection_t *conn); +int connection_or_compute_authenticate_cell_body(or_connection_t *conn, + uint8_t *out, size_t outlen, + crypto_pk_env_t *signing_key, + int server); +int connection_or_send_authenticate_cell(or_connection_t *conn); int is_or_protocol_version_known(uint16_t version); |