40 memcpy(ident, src,
sizeof(*ident));
50 memcpy(ident, src,
sizeof(*ident));
void ed25519_pubkey_copy(ed25519_public_key_t *dest, const ed25519_public_key_t *src)
int ed25519_public_key_is_zero(const ed25519_public_key_t *pubkey)
void memwipe(void *mem, uint8_t byte, size_t sz)
Common functions for cryptographic routines.
void hs_ident_edge_conn_free_(hs_ident_edge_conn_t *ident)
void hs_ident_dir_conn_free_(hs_ident_dir_conn_t *ident)
hs_ident_circuit_t * hs_ident_circuit_dup(const hs_ident_circuit_t *src)
hs_ident_dir_conn_t * hs_ident_dir_conn_dup(const hs_ident_dir_conn_t *src)
void hs_ident_circuit_free_(hs_ident_circuit_t *ident)
hs_ident_edge_conn_t * hs_ident_edge_conn_new(const ed25519_public_key_t *identity_pk)
void hs_ident_dir_conn_init(const ed25519_public_key_t *identity_pk, const ed25519_public_key_t *blinded_pk, hs_ident_dir_conn_t *ident)
hs_ident_circuit_t * hs_ident_circuit_new(const ed25519_public_key_t *identity_pk)
int hs_ident_intro_circ_is_valid(const hs_ident_circuit_t *ident)
Header file containing circuit and connection identifier data for the whole HS subsystem.
ed25519_public_key_t intro_auth_pk
ed25519_public_key_t identity_pk
ed25519_public_key_t blinded_pk
ed25519_public_key_t identity_pk
ed25519_public_key_t identity_pk