Tor  0.4.5.0-alpha-dev
Macros | Functions
routerkeys.h File Reference

Header for routerkeys.c. More...

#include "lib/crypt_ops/crypto_ed25519.h"

Go to the source code of this file.

Macros

#define router_ed25519_id_is_me(id)    ((void)(id), 0)
 
#define relay_key_is_unavailable(type)    ((type)(relay_key_is_unavailable_()))
 
#define get_current_auth_keypair()    relay_key_is_unavailable(const ed25519_keypair_t *)
 
#define get_master_signing_keypair()    relay_key_is_unavailable(const ed25519_keypair_t *)
 
#define get_current_link_cert_cert()    relay_key_is_unavailable(const struct tor_cert_st *)
 
#define get_current_auth_key_cert()    relay_key_is_unavailable(const struct tor_cert_st *)
 
#define get_master_signing_key_cert()    relay_key_is_unavailable(const struct tor_cert_st *)
 
#define get_master_rsa_crosscert(cert_out, size_out)
 
#define get_master_identity_key()    relay_key_is_unavailable(const ed25519_public_key_t *)
 
#define generate_ed_link_cert(options, now, force)    ((void)(options), (void)(now), (void)(force), 0)
 
#define should_make_new_ed_keys(options, now)    ((void)(options), (void)(now), 0)
 
#define log_cert_expiration()    (puts("Not available: Tor has been compiled without relay support"), 0)
 
#define load_ed_keys(x, y)    (puts("Not available: Tor has been compiled without relay support"), 0)
 

Functions

static void * relay_key_is_unavailable_ (void)
 
static struct tor_cert_st * make_ntor_onion_key_crosscert (const curve25519_keypair_t *onion_key, const ed25519_public_key_t *master_id_key, time_t now, time_t lifetime, int *sign_out)
 
static uint8_t * make_tap_onion_key_crosscert (const crypto_pk_t *onion_key, const ed25519_public_key_t *master_id_key, const crypto_pk_t *rsa_id_key, int *len_out)
 

Detailed Description

Header for routerkeys.c.

Definition in file routerkeys.h.

Macro Definition Documentation

◆ get_master_rsa_crosscert

#define get_master_rsa_crosscert (   cert_out,
  size_out 
)
Value:
*(cert_out) = NULL; \
*(size_out) = 0; \
STMT_END

Definition at line 73 of file routerkeys.h.

tor_assert_nonfatal_unreached
#define tor_assert_nonfatal_unreached()
Definition: util_bug.h:176