diff options
author | Gabor X Toth <*@tg-x.net> | 2014-07-10 17:49:53 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-07-10 17:49:53 +0000 |
commit | a8133f3ff80aaaccc904e4bbaf69bc53dee499cb (patch) | |
tree | c10edd7a8156280c61357ccf9e0f1f27c7a0d6db /src/include/gnunet_multicast_service.h | |
parent | 6c75526e936fcc74ee79b13831b2b6dda57f293d (diff) | |
download | gnunet-a8133f3ff80aaaccc904e4bbaf69bc53dee499cb.tar.gz gnunet-a8133f3ff80aaaccc904e4bbaf69bc53dee499cb.zip |
PSYC(store), Multicast: use ECDSA slave/member keys; PSYC: add GNUNET_PSYC_message_create()
Diffstat (limited to 'src/include/gnunet_multicast_service.h')
-rw-r--r-- | src/include/gnunet_multicast_service.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_multicast_service.h b/src/include/gnunet_multicast_service.h index bb109f4de..41227b925 100644 --- a/src/include/gnunet_multicast_service.h +++ b/src/include/gnunet_multicast_service.h | |||
@@ -174,14 +174,14 @@ struct GNUNET_MULTICAST_RequestHeader | |||
174 | /** | 174 | /** |
175 | * Public key of the sending member. | 175 | * Public key of the sending member. |
176 | */ | 176 | */ |
177 | struct GNUNET_CRYPTO_EddsaPublicKey member_key; | 177 | struct GNUNET_CRYPTO_EcdsaPublicKey member_key; |
178 | 178 | ||
179 | /** | 179 | /** |
180 | * ECC signature of the request fragment. | 180 | * ECC signature of the request fragment. |
181 | * | 181 | * |
182 | * Signature must match the public key of the multicast group. | 182 | * Signature must match the public key of the multicast group. |
183 | */ | 183 | */ |
184 | struct GNUNET_CRYPTO_EddsaSignature signature; | 184 | struct GNUNET_CRYPTO_EcdsaSignature signature; |
185 | 185 | ||
186 | /** | 186 | /** |
187 | * Purpose for the signature and size of the signed data. | 187 | * Purpose for the signature and size of the signed data. |
@@ -280,7 +280,7 @@ GNUNET_MULTICAST_join_decision (struct GNUNET_MULTICAST_JoinHandle *jh, | |||
280 | */ | 280 | */ |
281 | typedef void | 281 | typedef void |
282 | (*GNUNET_MULTICAST_JoinRequestCallback) (void *cls, | 282 | (*GNUNET_MULTICAST_JoinRequestCallback) (void *cls, |
283 | const struct GNUNET_CRYPTO_EddsaPublicKey *member_key, | 283 | const struct GNUNET_CRYPTO_EcdsaPublicKey *member_key, |
284 | const struct GNUNET_MessageHeader *join_msg, | 284 | const struct GNUNET_MessageHeader *join_msg, |
285 | struct GNUNET_MULTICAST_JoinHandle *jh); | 285 | struct GNUNET_MULTICAST_JoinHandle *jh); |
286 | 286 | ||
@@ -344,7 +344,7 @@ GNUNET_MULTICAST_membership_test_result (struct GNUNET_MULTICAST_MembershipTestH | |||
344 | */ | 344 | */ |
345 | typedef void | 345 | typedef void |
346 | (*GNUNET_MULTICAST_MembershipTestCallback) (void *cls, | 346 | (*GNUNET_MULTICAST_MembershipTestCallback) (void *cls, |
347 | const struct GNUNET_CRYPTO_EddsaPublicKey *member_key, | 347 | const struct GNUNET_CRYPTO_EcdsaPublicKey *member_key, |
348 | uint64_t message_id, | 348 | uint64_t message_id, |
349 | uint64_t group_generation, | 349 | uint64_t group_generation, |
350 | struct GNUNET_MULTICAST_MembershipTestHandle *mth); | 350 | struct GNUNET_MULTICAST_MembershipTestHandle *mth); |
@@ -430,7 +430,7 @@ struct GNUNET_MULTICAST_ReplayHandle; | |||
430 | */ | 430 | */ |
431 | typedef void | 431 | typedef void |
432 | (*GNUNET_MULTICAST_ReplayFragmentCallback) (void *cls, | 432 | (*GNUNET_MULTICAST_ReplayFragmentCallback) (void *cls, |
433 | const struct GNUNET_CRYPTO_EddsaPublicKey *member_key, | 433 | const struct GNUNET_CRYPTO_EcdsaPublicKey *member_key, |
434 | uint64_t fragment_id, | 434 | uint64_t fragment_id, |
435 | uint64_t flags, | 435 | uint64_t flags, |
436 | struct GNUNET_MULTICAST_ReplayHandle *rh); | 436 | struct GNUNET_MULTICAST_ReplayHandle *rh); |
@@ -453,7 +453,7 @@ typedef void | |||
453 | */ | 453 | */ |
454 | typedef void | 454 | typedef void |
455 | (*GNUNET_MULTICAST_ReplayMessageCallback) (void *cls, | 455 | (*GNUNET_MULTICAST_ReplayMessageCallback) (void *cls, |
456 | const struct GNUNET_CRYPTO_EddsaPublicKey *member_key, | 456 | const struct GNUNET_CRYPTO_EcdsaPublicKey *member_key, |
457 | uint64_t message_id, | 457 | uint64_t message_id, |
458 | uint64_t fragment_offset, | 458 | uint64_t fragment_offset, |
459 | uint64_t flags, | 459 | uint64_t flags, |
@@ -712,7 +712,7 @@ GNUNET_MULTICAST_origin_stop (struct GNUNET_MULTICAST_Origin *origin); | |||
712 | struct GNUNET_MULTICAST_Member * | 712 | struct GNUNET_MULTICAST_Member * |
713 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, | 713 | GNUNET_MULTICAST_member_join (const struct GNUNET_CONFIGURATION_Handle *cfg, |
714 | const struct GNUNET_CRYPTO_EddsaPublicKey *group_key, | 714 | const struct GNUNET_CRYPTO_EddsaPublicKey *group_key, |
715 | const struct GNUNET_CRYPTO_EddsaPrivateKey *member_key, | 715 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *member_key, |
716 | const struct GNUNET_PeerIdentity *origin, | 716 | const struct GNUNET_PeerIdentity *origin, |
717 | uint16_t relay_count, | 717 | uint16_t relay_count, |
718 | const struct GNUNET_PeerIdentity *relays, | 718 | const struct GNUNET_PeerIdentity *relays, |