summaryrefslogtreecommitdiff
path: root/src/include/gnunet_multicast_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
commit9351b1e9bdf2b067b6db06562c26ba658cff42b8 (patch)
tree68dc4ab447e7e8b6a20a706858cd36238c1c7c5f /src/include/gnunet_multicast_service.h
parent8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff)
downloadgnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz
gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r--src/include/gnunet_multicast_service.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h
index 7a2421b4b..58a99c0d8 100644
--- a/src/include/gnunet_multicast_service.h
+++ b/src/include/gnunet_multicast_service.h
@@ -112,7 +112,7 @@ struct GNUNET_MULTICAST_MessageHeader
112 * 112 *
113 * Signature must match the public key of the multicast group. 113 * Signature must match the public key of the multicast group.
114 */ 114 */
115 struct GNUNET_CRYPTO_EccSignature signature; 115 struct GNUNET_CRYPTO_EddsaSignature signature;
116 116
117 /** 117 /**
118 * Purpose for the signature and size of the signed data. 118 * Purpose for the signature and size of the signed data.
@@ -214,7 +214,7 @@ GNUNET_MULTICAST_join_decision (struct GNUNET_MULTICAST_JoinHandle *jh,
214 */ 214 */
215typedef void 215typedef void
216(*GNUNET_MULTICAST_JoinCallback) (void *cls, 216(*GNUNET_MULTICAST_JoinCallback) (void *cls,
217 const struct GNUNET_CRYPTO_EccPublicSignKey *member_key, 217 const struct GNUNET_CRYPTO_EddsaPublicKey *member_key,
218 const struct GNUNET_MessageHeader *join_req, 218 const struct GNUNET_MessageHeader *join_req,
219 struct GNUNET_MULTICAST_JoinHandle *jh); 219 struct GNUNET_MULTICAST_JoinHandle *jh);
220 220
@@ -253,7 +253,7 @@ GNUNET_MULTICAST_membership_test_result (struct GNUNET_MULTICAST_MembershipTestH
253 */ 253 */
254typedef void 254typedef void
255(*GNUNET_MULTICAST_MembershipTestCallback) (void *cls, 255(*GNUNET_MULTICAST_MembershipTestCallback) (void *cls,
256 const struct GNUNET_CRYPTO_EccPublicSignKey *member_key, 256 const struct GNUNET_CRYPTO_EddsaPublicKey *member_key,
257 uint64_t message_id, 257 uint64_t message_id,
258 uint64_t group_generation, 258 uint64_t group_generation,
259 struct GNUNET_MULTICAST_MembershipTestHandle *mth); 259 struct GNUNET_MULTICAST_MembershipTestHandle *mth);
@@ -277,7 +277,7 @@ typedef void
277 */ 277 */
278typedef void 278typedef void
279(*GNUNET_MULTICAST_RequestCallback) (void *cls, 279(*GNUNET_MULTICAST_RequestCallback) (void *cls,
280 const struct GNUNET_CRYPTO_EccPublicSignKey *member_key, 280 const struct GNUNET_CRYPTO_EddsaPublicKey *member_key,
281 const struct GNUNET_MessageHeader *req, 281 const struct GNUNET_MessageHeader *req,
282 enum GNUNET_MULTICAST_MessageFlags flags); 282 enum GNUNET_MULTICAST_MessageFlags flags);
283 283
@@ -341,7 +341,7 @@ struct GNUNET_MULTICAST_ReplayHandle;
341 */ 341 */
342typedef void 342typedef void
343(*GNUNET_MULTICAST_ReplayFragmentCallback) (void *cls, 343(*GNUNET_MULTICAST_ReplayFragmentCallback) (void *cls,
344 const struct GNUNET_CRYPTO_EccPublicSignKey *member_key, 344 const struct GNUNET_CRYPTO_EddsaPublicKey *member_key,
345 uint64_t fragment_id, 345 uint64_t fragment_id,
346 uint64_t flags, 346 uint64_t flags,
347 struct GNUNET_MULTICAST_ReplayHandle *rh); 347 struct GNUNET_MULTICAST_ReplayHandle *rh);
@@ -364,7 +364,7 @@ typedef void
364 */ 364 */
365typedef void 365typedef void
366(*GNUNET_MULTICAST_ReplayMessageCallback) (void *cls, 366(*GNUNET_MULTICAST_ReplayMessageCallback) (void *cls,
367 const struct GNUNET_CRYPTO_EccPublicSignKey *member_key, 367 const struct GNUNET_CRYPTO_EddsaPublicKey *member_key,
368 uint64_t message_id, 368 uint64_t message_id,
369 uint64_t fragment_offset, 369 uint64_t fragment_offset,
370 uint64_t flags, 370 uint64_t flags,
@@ -491,7 +491,7 @@ GNUNET_MULTICAST_replay_response2 (struct GNUNET_MULTICAST_ReplayHandle *rh,
491 */ 491 */
492struct GNUNET_MULTICAST_Origin * 492struct GNUNET_MULTICAST_Origin *
493GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg, 493GNUNET_MULTICAST_origin_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
494 const struct GNUNET_CRYPTO_EccPrivateKey *priv_key, 494 const struct GNUNET_CRYPTO_EddsaPrivateKey *priv_key,
495 uint64_t next_fragment_id, 495 uint64_t next_fragment_id,
496 GNUNET_MULTICAST_JoinCallback join_cb, 496 GNUNET_MULTICAST_JoinCallback join_cb,
497 GNUNET_MULTICAST_MembershipTestCallback mem_test_cb, 497 GNUNET_MULTICAST_MembershipTestCallback mem_test_cb,
@@ -623,8 +623,8 @@ GNUNET_MULTICAST_origin_stop (struct GNUNET_MULTICAST_Origin *origin);
623 */ 623 */
624struct GNUNET_MULTICAST_Member * 624struct GNUNET_MULTICAST_Member *
625GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, 625GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg,
626 const struct GNUNET_CRYPTO_EccPublicSignKey *group_key, 626 const struct GNUNET_CRYPTO_EddsaPublicKey *group_key,
627 const struct GNUNET_CRYPTO_EccPrivateKey *member_key, 627 const struct GNUNET_CRYPTO_EddsaPrivateKey *member_key,
628 const struct GNUNET_PeerIdentity *origin, 628 const struct GNUNET_PeerIdentity *origin,
629 uint32_t relay_count, 629 uint32_t relay_count,
630 const struct GNUNET_PeerIdentity *relays, 630 const struct GNUNET_PeerIdentity *relays,