diff options
author | David Goulet <dgoulet@torproject.org> | 2017-05-12 11:39:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-07 11:12:26 -0400 |
commit | f8dc1164ba86099d4106dffa84435366bf6cdcd6 (patch) | |
tree | 724222dbf2f8d503a97678d36f8494b1a7efa3fa /src/or/hs_common.h | |
parent | 90046a09dd95c789e28f63c320c1c16e58ecf57a (diff) | |
download | tor-f8dc1164ba86099d4106dffa84435366bf6cdcd6.tar.gz tor-f8dc1164ba86099d4106dffa84435366bf6cdcd6.zip |
prop224: Add connection and circuit identifier object
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r-- | src/or/hs_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h index a8fded652a..872fed763a 100644 --- a/src/or/hs_common.h +++ b/src/or/hs_common.h @@ -49,6 +49,12 @@ /* The time period rotation offset as seen in prop224 section [TIME-PERIODS] */ #define HS_TIME_PERIOD_ROTATION_OFFSET (12 * 60) /* minutes */ +/* Type of authentication key used by an introduction point. */ +typedef enum { + HS_AUTH_KEY_TYPE_LEGACY = 1, + HS_AUTH_KEY_TYPE_ED25519 = 2, +} hs_auth_key_type_t; + int hs_check_service_private_dir(const char *username, const char *path, unsigned int dir_group_readable, unsigned int create); |