summaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_descriptor.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2018-09-06 16:25:31 +0300
committerDavid Goulet <dgoulet@torproject.org>2018-09-07 14:05:07 -0400
commit6583d1e7091ba368b66c6f3038df223d3b7652cb (patch)
treeba2f7aa7377bbaeb18674a5affe4a2856c7d2698 /src/feature/hs/hs_descriptor.h
parent1e9428dc618250ba7a64f5e2e0451a9da9c75853 (diff)
downloadtor-6583d1e7091ba368b66c6f3038df223d3b7652cb.tar.gz
tor-6583d1e7091ba368b66c6f3038df223d3b7652cb.zip
HSv3: Add subcredential in client auth KDF on the client-side.
Diffstat (limited to 'src/feature/hs/hs_descriptor.h')
-rw-r--r--src/feature/hs/hs_descriptor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/hs/hs_descriptor.h b/src/feature/hs/hs_descriptor.h
index 9d447105f9..adfb94deaa 100644
--- a/src/feature/hs/hs_descriptor.h
+++ b/src/feature/hs/hs_descriptor.h
@@ -303,7 +303,8 @@ link_specifier_t *hs_desc_lspec_to_trunnel(
const hs_desc_link_specifier_t *spec);
hs_desc_authorized_client_t *hs_desc_build_fake_authorized_client(void);
-void hs_desc_build_authorized_client(const curve25519_public_key_t *
+void hs_desc_build_authorized_client(const uint8_t *subcredential,
+ const curve25519_public_key_t *
client_auth_pk,
const curve25519_secret_key_t *
auth_ephemeral_sk,