aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-08-26 12:37:48 +0000
committerChristian Grothoff <christian@grothoff.org>2016-08-26 12:37:48 +0000
commit25081ad4af5f056cb17cc3654560a89f7a932540 (patch)
tree4fdaf9824a9d65e773008f0aadf74a0a94027ccb /src/include
parent6ddb3909c0386efc4cf172eda113dbe904a0f75a (diff)
downloadgnunet-25081ad4af5f056cb17cc3654560a89f7a932540.tar.gz
gnunet-25081ad4af5f056cb17cc3654560a89f7a932540.zip
putting CADET on a diet: proper alignment for AX KX, kill obsolete OTR legacy code
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_constants.h4
-rw-r--r--src/include/gnunet_protocols.h15
2 files changed, 2 insertions, 17 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index 000def902..a40354fb5 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -127,13 +127,13 @@ extern "C"
127 127
128/** 128/**
129 * Size of the CADET message overhead: 129 * Size of the CADET message overhead:
130 * + sizeof (struct GNUNET_CADET_Encrypted) 130 * + sizeof (struct GNUNET_CADET_AX)
131 * + sizeof (struct GNUNET_CADET_Data) 131 * + sizeof (struct GNUNET_CADET_Data)
132 * + sizeof (struct GNUNET_CADET_ACK)) 132 * + sizeof (struct GNUNET_CADET_ACK))
133 * 133 *
134 * Checked for correcteness in gnunet-service-cadet_tunnel.c: GCT_init(). 134 * Checked for correcteness in gnunet-service-cadet_tunnel.c: GCT_init().
135 */ 135 */
136#define GNUNET_CONSTANTS_CADET_P2P_OVERHEAD 132 136#define GNUNET_CONSTANTS_CADET_P2P_OVERHEAD 164
137 137
138/** 138/**
139 * Maximum message size that can be sent on CADET. 139 * Maximum message size that can be sent on CADET.
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 086406a44..8da8fcd00 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -847,16 +847,6 @@ extern "C"
847#define GNUNET_MESSAGE_TYPE_CADET_KX 262 847#define GNUNET_MESSAGE_TYPE_CADET_KX 262
848 848
849/** 849/**
850 * New ephemeral key.
851 */
852#define GNUNET_MESSAGE_TYPE_CADET_KX_EPHEMERAL 263
853
854/**
855 * Answer to session key challenge.
856 */
857#define GNUNET_MESSAGE_TYPE_CADET_KX_PONG 265
858
859/**
860 * Request the destuction of a connection 850 * Request the destuction of a connection
861 */ 851 */
862#define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY 266 852#define GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY 266
@@ -898,11 +888,6 @@ extern "C"
898#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_NACK 276 888#define GNUNET_MESSAGE_TYPE_CADET_CHANNEL_NACK 276
899 889
900/** 890/**
901 * Encrypted data. (Payload, channel management, keepalive)
902 */
903#define GNUNET_MESSAGE_TYPE_CADET_ENCRYPTED 280
904
905/**
906 * Axolotl key exchange. 891 * Axolotl key exchange.
907 */ 892 */
908#define GNUNET_MESSAGE_TYPE_CADET_AX_KX 281 893#define GNUNET_MESSAGE_TYPE_CADET_AX_KX 281