diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-14 16:00:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-11 15:29:13 -0500 |
commit | e054211237e88cace9f7d7ff403600c192df9a31 (patch) | |
tree | 3f1f21e932596c22e8132bff1ce8f2cda00a0052 /src/or/onion.h | |
parent | 1be671f505554e0c3e9577a60d7c94e45c9a2759 (diff) | |
download | tor-e054211237e88cace9f7d7ff403600c192df9a31.tar.gz tor-e054211237e88cace9f7d7ff403600c192df9a31.zip |
Migrate extend2/create2 cell encoding to Trunnel
(Not extended2/created2; that's too simple.)
Incidentally, add ed25519 identities to the mix when we have them.
Diffstat (limited to 'src/or/onion.h')
-rw-r--r-- | src/or/onion.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/onion.h b/src/or/onion.h index 0275fa00d2..19e4a7c381 100644 --- a/src/or/onion.h +++ b/src/or/onion.h @@ -85,6 +85,8 @@ typedef struct extend_cell_t { tor_addr_port_t orport_ipv6; /** Identity fingerprint of the node we're conecting to.*/ uint8_t node_id[DIGEST_LEN]; + /** Ed25519 public identity key. Zero if not set. */ + ed25519_public_key_t ed_pubkey; /** The "create cell" embedded in this extend cell. Note that unlike the * create cells we generate ourself, this once can have a handshake type we * don't recognize. */ |