Tor 0.4.9.8
Loading...
Searching...
No Matches
routerkeys.h File Reference

Header for routerkeys.c. More...

Go to the source code of this file.

Macros

#define router_ed25519_id_is_me(id)
 
#define relay_key_is_unavailable(type)
 
#define get_current_auth_keypair()
 
#define get_master_signing_keypair()
 
#define get_current_link_cert_cert()
 
#define get_current_auth_key_cert()
 
#define get_master_signing_key_cert()
 
#define get_master_rsa_crosscert(cert_out, size_out)
 
#define get_master_identity_key()
 
#define generate_ed_link_cert(options, now, force)
 
#define should_make_new_ed_keys(options, now)
 
#define warn_about_family_id_config(options, ns)
 
#define get_current_family_id_keys()
 
#define log_cert_expiration()
 
#define load_ed_keys(x, y)
 
#define load_family_id_keys(x, y)
 
#define create_family_id_key(x, y)
 

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

◆ create_family_id_key

#define create_family_id_key ( x,
y )
Value:
(puts("Not available: Tor has been compiled without relay support"), -1)

Definition at line 138 of file routerkeys.h.

◆ generate_ed_link_cert

#define generate_ed_link_cert ( options,
now,
force )
Value:
((void)(options), (void)(now), (void)(force), 0)

Definition at line 90 of file routerkeys.h.

◆ get_current_auth_key_cert

#define get_current_auth_key_cert ( void)
Value:
relay_key_is_unavailable(const struct tor_cert_st *)

Definition at line 77 of file routerkeys.h.

◆ get_current_auth_keypair

#define get_current_auth_keypair ( void)
Value:
relay_key_is_unavailable(const ed25519_keypair_t *)

Definition at line 71 of file routerkeys.h.

◆ get_current_family_id_keys

#define get_current_family_id_keys ( void)
Value:
smartlist_t * smartlist_new(void)

Definition at line 96 of file routerkeys.h.

◆ get_current_link_cert_cert

#define get_current_link_cert_cert ( void)
Value:
relay_key_is_unavailable(const struct tor_cert_st *)

Definition at line 75 of file routerkeys.h.

◆ get_master_identity_key

#define get_master_identity_key ( void)
Value:
relay_key_is_unavailable(const ed25519_public_key_t *)

Definition at line 87 of file routerkeys.h.

◆ get_master_rsa_crosscert

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

Definition at line 81 of file routerkeys.h.

◆ get_master_signing_key_cert

#define get_master_signing_key_cert ( void)
Value:
relay_key_is_unavailable(const struct tor_cert_st *)

Definition at line 79 of file routerkeys.h.

◆ get_master_signing_keypair

#define get_master_signing_keypair ( void)
Value:
relay_key_is_unavailable(const ed25519_keypair_t *)

Definition at line 73 of file routerkeys.h.

◆ load_ed_keys

#define load_ed_keys ( x,
y )
Value:
(puts("Not available: Tor has been compiled without relay support"), 0)

Definition at line 134 of file routerkeys.h.

◆ load_family_id_keys

#define load_family_id_keys ( x,
y )
Value:
(puts("Not available: Tor has been compiled without relay support"), 0)

Definition at line 136 of file routerkeys.h.

◆ log_cert_expiration

#define log_cert_expiration ( void)
Value:
(puts("Not available: Tor has been compiled without relay support"), 0)

Definition at line 130 of file routerkeys.h.

◆ relay_key_is_unavailable

#define relay_key_is_unavailable ( type)
Value:
((type)(relay_key_is_unavailable_()))

Definition at line 67 of file routerkeys.h.

◆ router_ed25519_id_is_me

#define router_ed25519_id_is_me ( id)
Value:
((void)(id), 0)

Definition at line 59 of file routerkeys.h.

◆ should_make_new_ed_keys

#define should_make_new_ed_keys ( options,
now )
Value:
((void)(options), (void)(now), 0)

Definition at line 92 of file routerkeys.h.

◆ warn_about_family_id_config

#define warn_about_family_id_config ( options,
ns )
Value:
((void)(options), (void)(ns))

Definition at line 94 of file routerkeys.h.

Function Documentation

◆ make_ntor_onion_key_crosscert()

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 )
inlinestatic

Definition at line 101 of file routerkeys.h.

◆ make_tap_onion_key_crosscert()

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 )
inlinestatic

Definition at line 115 of file routerkeys.h.

◆ relay_key_is_unavailable_()

static void * relay_key_is_unavailable_ ( void )
inlinestatic

Definition at line 63 of file routerkeys.h.