diff options
-rw-r--r-- | src/cadet/cadet_protocol.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/cadet/cadet_protocol.h b/src/cadet/cadet_protocol.h index d866e20d3..ecc31a01d 100644 --- a/src/cadet/cadet_protocol.h +++ b/src/cadet/cadet_protocol.h | |||
@@ -122,14 +122,31 @@ struct GNUNET_CADET_AX_KX | |||
122 | struct GNUNET_MessageHeader header; | 122 | struct GNUNET_MessageHeader header; |
123 | 123 | ||
124 | /** | 124 | /** |
125 | * Sender's ephemeral public ECC key (always for NIST P-521) encoded in a | 125 | * An EdDSA signature of the permanent ECDH key with the Peer's ID key. |
126 | */ | ||
127 | struct GNUNET_CRYPTO_EddsaSignature signature; | ||
128 | |||
129 | /** | ||
130 | * Information about what is being signed (@a permanent_key). | ||
131 | */ | ||
132 | struct GNUNET_CRYPTO_EccSignaturePurpose purpose; | ||
133 | |||
134 | /** | ||
135 | * Sender's permanent_key public ECC key encoded in a | ||
136 | * format suitable for network transmission, as created | ||
137 | * using 'gcry_sexp_sprint'. | ||
138 | */ | ||
139 | struct GNUNET_CRYPTO_EcdhePublicKey permanent_key; | ||
140 | |||
141 | /** | ||
142 | * Sender's ephemeral public ECC key encoded in a | ||
126 | * format suitable for network transmission, as created | 143 | * format suitable for network transmission, as created |
127 | * using 'gcry_sexp_sprint'. | 144 | * using 'gcry_sexp_sprint'. |
128 | */ | 145 | */ |
129 | struct GNUNET_CRYPTO_EcdhePublicKey ephemeral_key; | 146 | struct GNUNET_CRYPTO_EcdhePublicKey ephemeral_key; |
130 | 147 | ||
131 | /** | 148 | /** |
132 | * Sender's next ephemeral public ECC key (always for NIST P-521) encoded in a | 149 | * Sender's next ephemeral public ECC key encoded in a |
133 | * format suitable for network transmission, as created | 150 | * format suitable for network transmission, as created |
134 | * using 'gcry_sexp_sprint'. | 151 | * using 'gcry_sexp_sprint'. |
135 | */ | 152 | */ |