summaryrefslogtreecommitdiff
path: root/src/or/torcert.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2016-03-08 15:51:53 -0500
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:29:27 -0400
commit91b5d0789ff5606cf97346590567857bfd78f9ad (patch)
treecd288ba32a7219d32361ce6d19e6876d7f2f0b8e /src/or/torcert.h
parent02ad553ccd241aacab2e80b07b0fd5bc072dc0f8 (diff)
downloadtor-91b5d0789ff5606cf97346590567857bfd78f9ad.tar.gz
tor-91b5d0789ff5606cf97346590567857bfd78f9ad.zip
prop224: Descriptor encoding implementation
Add hs_descriptor.{c|h} with the needed ABI to represent a descriptor and needed component. Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/torcert.h')
-rw-r--r--src/or/torcert.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/torcert.h b/src/or/torcert.h
index 4665e6749a..29bc0fc6f8 100644
--- a/src/or/torcert.h
+++ b/src/or/torcert.h
@@ -11,6 +11,8 @@
#define CERT_TYPE_ID_SIGNING 0x04
#define CERT_TYPE_SIGNING_LINK 0x05
#define CERT_TYPE_SIGNING_AUTH 0x06
+#define CERT_TYPE_HS_DESC_SIGN 0x08
+#define CERT_TYPE_HS_IP_AUTH 0x09
#define CERT_TYPE_ONION_ID 0x0A
#define CERT_TYPE_HS_IP_ENC 0x0B