12 #ifndef TOR_CORE_OR_RELAY_HANDSHAKE_H
13 #define TOR_CORE_OR_RELAY_HANDSHAKE_H
15 #ifdef HAVE_MODULE_RELAY
30 uint16_t challenge_type_b);
36 extern int certs_cell_ed25519_disabled_for_testing;
72 #define authchallenge_type_is_supported(t) (0)
73 #define authchallenge_type_is_better(a, b) (0)
85 extern int certs_cell_ed25519_disabled_for_testing;
var_cell_t * connection_or_compute_authenticate_cell_body(or_connection_t *conn, const int authtype, crypto_pk_t *signing_key, const ed25519_keypair_t *ed_signing_key, int server)
int authchallenge_type_is_better(uint16_t challenge_type_a, uint16_t challenge_type_b)
int connection_or_send_certs_cell(or_connection_t *conn)
int authchallenge_type_is_supported(uint16_t challenge_type)
int connection_or_send_authenticate_cell(or_connection_t *conn, int authtype)
int connection_or_send_auth_challenge_cell(or_connection_t *conn)
#define MOCK_DECL(rv, funcname, arglist)
#define tor_assert_nonfatal_unreached()