diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 13:04:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 1743dac078f2e060f3f6c7194deae90a2175fe92 (patch) | |
tree | 4cd48e47e5acb70a457bf4dbddc0808c367c4b2c /src/or/microdesc_st.h | |
parent | 500826479aaf7d398f576fabbfdf34b17604f646 (diff) | |
download | tor-1743dac078f2e060f3f6c7194deae90a2175fe92.tar.gz tor-1743dac078f2e060f3f6c7194deae90a2175fe92.zip |
Minimize headers that include crypto_formats and x25519 stuff
Diffstat (limited to 'src/or/microdesc_st.h')
-rw-r--r-- | src/or/microdesc_st.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/or/microdesc_st.h b/src/or/microdesc_st.h index 256659e679..0a58ffb850 100644 --- a/src/or/microdesc_st.h +++ b/src/or/microdesc_st.h @@ -7,6 +7,9 @@ #ifndef MICRODESC_ST_H #define MICRODESC_ST_H +struct curve25519_public_key_t; +struct ed25519_public_key_t; + /** A microdescriptor is the smallest amount of information needed to build a * circuit through a router. They are generated by the directory authorities, * using information from the uploaded routerinfo documents. They are not @@ -52,9 +55,9 @@ struct microdesc_t { /** As routerinfo_t.onion_pkey */ crypto_pk_t *onion_pkey; /** As routerinfo_t.onion_curve25519_pkey */ - curve25519_public_key_t *onion_curve25519_pkey; + struct curve25519_public_key_t *onion_curve25519_pkey; /** Ed25519 identity key, if included. */ - ed25519_public_key_t *ed25519_identity_pkey; + struct ed25519_public_key_t *ed25519_identity_pkey; /** As routerinfo_t.ipv6_addr */ tor_addr_t ipv6_addr; /** As routerinfo_t.ipv6_orport */ @@ -68,4 +71,3 @@ struct microdesc_t { }; #endif - |