-avoid 'hu', as it is unsigned short, not uint16_t
[oweals/gnunet.git] / src / include / gnunet_signatures.h
index f8839c1aa74c94cdee8cb102787118ba5d65ac92..d875aeb6b6eb0235cdc193654a7ff42ce64d774c 100644 (file)
@@ -137,7 +137,7 @@ extern "C"
 #define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT 18
 
 /**
- * Signature of a multicast message.
+ * Signature of a multicast message sent by the origin.
  */
 #define GNUNET_SIGNATURE_PURPOSE_MULTICAST_MESSAGE 19
 
@@ -147,9 +147,29 @@ extern "C"
 #define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING 20
 
 /**
- * Key exchange in MESH
+ * Key exchange in CADET
  */
-#define GNUNET_SIGNATURE_PURPOSE_MESH_KX                21
+#define GNUNET_SIGNATURE_PURPOSE_CADET_KX                21
+
+/**
+ * Signature for the first round of distributed key generation.
+ */
+#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1 22
+
+/**
+ * Signature for the second round of distributed key generation.
+ */
+#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2 23
+
+/**
+ * Signature for cooperatice decryption.
+ */
+#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION 23
+
+/**
+ * Signature of a multicast request sent by a member.
+ */
+#define GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST 24
 
 
 #if 0                           /* keep Emacsens' auto-indent happy */