diff options
author | Neel Chauhan <neel@neelc.org> | 2018-04-27 17:45:16 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2018-05-02 14:08:28 +0300 |
commit | af70d3c459d3b11b04e49c1b659183fe2e96e252 (patch) | |
tree | 83816f0d9fccb2997441c13480e34c59cac37f16 /src/or/hs_service.h | |
parent | 60fad8d41fc7395bd573a2cd9585ae9cb03febc3 (diff) | |
download | tor-af70d3c459d3b11b04e49c1b659183fe2e96e252.tar.gz tor-af70d3c459d3b11b04e49c1b659183fe2e96e252.zip |
Optimize legacy intro point digest calculation.
Diffstat (limited to 'src/or/hs_service.h')
-rw-r--r-- | src/or/hs_service.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h index 2e27d8a899..ea7ee9ecf2 100644 --- a/src/or/hs_service.h +++ b/src/or/hs_service.h @@ -51,6 +51,9 @@ typedef struct hs_service_intro_point_t { * the base object legacy flag is set. */ crypto_pk_t *legacy_key; + /* Legacy key SHA1 public key digest. */ + uint8_t legacy_key_digest[DIGEST_LEN]; + /* Amount of INTRODUCE2 cell accepted from this intro point. */ uint64_t introduce2_count; |