diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-11 12:37:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-08 16:48:00 -0500 |
commit | 424ae9e18bc902e6c96a0e49b609f40868174af8 (patch) | |
tree | 1462efb5d9ae3f68406a29b23eb89e6b48102f3d /src/or/nodelist.h | |
parent | 3b1e04fe4505ccbd7d93061dccb5673523519c64 (diff) | |
download | tor-424ae9e18bc902e6c96a0e49b609f40868174af8.tar.gz tor-424ae9e18bc902e6c96a0e49b609f40868174af8.zip |
helper to test a node for matching an ed25519 ID.
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r-- | src/or/nodelist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h index 57c3b43228..31fdc64663 100644 --- a/src/or/nodelist.h +++ b/src/or/nodelist.h @@ -56,6 +56,8 @@ long node_get_declared_uptime(const node_t *node); time_t node_get_published_on(const node_t *node); const smartlist_t *node_get_declared_family(const node_t *node); const ed25519_public_key_t *node_get_ed25519_id(const node_t *node); +int node_ed25519_id_matches(const node_t *node, + const ed25519_public_key_t *id); int node_supports_ed25519_link_authentication(const node_t *node); const uint8_t *node_get_rsa_id_digest(const node_t *node); |