aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_descriptor.h
diff options
context:
space:
mode:
authorSuphanat Chunhapanya <haxx.pop@gmail.com>2018-05-22 00:01:52 +0700
committerDavid Goulet <dgoulet@torproject.org>2018-09-07 14:03:07 -0400
commit9f975e99953fa57a7c1f43ebd22cc9e602037b6d (patch)
treef027aa2e76b63e3f25f2088e25d6c849ff931a59 /src/feature/hs/hs_descriptor.h
parentb61403c7870b9ee289fe61e2f2349a8d49a8d37a (diff)
downloadtor-9f975e99953fa57a7c1f43ebd22cc9e602037b6d.tar.gz
tor-9f975e99953fa57a7c1f43ebd22cc9e602037b6d.zip
hs-v3: Rename client_sk to client_auth_sk
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_descriptor.h')
-rw-r--r--src/feature/hs/hs_descriptor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/hs/hs_descriptor.h b/src/feature/hs/hs_descriptor.h
index 5f589f9277..06d3bfe75e 100644
--- a/src/feature/hs/hs_descriptor.h
+++ b/src/feature/hs/hs_descriptor.h
@@ -277,14 +277,14 @@ MOCK_DECL(int,
int hs_desc_decode_descriptor(const char *encoded,
const uint8_t *subcredential,
- const curve25519_secret_key_t *client_sk,
+ const curve25519_secret_key_t *client_auth_sk,
hs_descriptor_t **desc_out);
int hs_desc_decode_plaintext(const char *encoded,
hs_desc_plaintext_data_t *plaintext);
int hs_desc_decode_superencrypted(const hs_descriptor_t *desc,
hs_desc_superencrypted_data_t *desc_out);
int hs_desc_decode_encrypted(const hs_descriptor_t *desc,
- const curve25519_secret_key_t *client_sk,
+ const curve25519_secret_key_t *client_auth_sk,
hs_desc_encrypted_data_t *desc_out);
size_t hs_desc_obj_size(const hs_descriptor_t *data);