From 81024f43ec3a3ab32683764cb925606bfcb603d7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 14 Sep 2011 14:44:42 -0400 Subject: Basic function to write authenticate cells Also, tweak the cert cell code to send auth certs --- src/or/connection_or.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/or/connection_or.h') 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); -- cgit v1.2.3-54-g00ecf