aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psyc_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_psyc_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_psyc_service.h')
-rw-r--r--src/include/gnunet_psyc_service.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h
index e9f935de7..7ac40a4c5 100644
--- a/src/include/gnunet_psyc_service.h
+++ b/src/include/gnunet_psyc_service.h
@@ -210,7 +210,7 @@ struct GNUNET_PSYC_MessageMethod
210 * Sending slave's public key. NULL if the message is from the master, or when 210 * Sending slave's public key. NULL if the message is from the master, or when
211 * transmitting a message. 211 * transmitting a message.
212 */ 212 */
213 struct GNUNET_CRYPTO_EccPublicSignKey slave_key; 213 struct GNUNET_CRYPTO_EddsaPublicKey slave_key;
214 214
215 /* Followed by NUL-terminated method name. */ 215 /* Followed by NUL-terminated method name. */
216}; 216};
@@ -305,7 +305,7 @@ struct GNUNET_PSYC_JoinHandle;
305 */ 305 */
306typedef int 306typedef int
307(*GNUNET_PSYC_Method) (void *cls, 307(*GNUNET_PSYC_Method) (void *cls,
308 const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, 308 const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key,
309 uint64_t message_id, 309 uint64_t message_id,
310 const char *method_name, 310 const char *method_name,
311 size_t modifier_count, 311 size_t modifier_count,
@@ -331,7 +331,7 @@ typedef int
331 */ 331 */
332typedef int 332typedef int
333(*GNUNET_PSYC_JoinCallback) (void *cls, 333(*GNUNET_PSYC_JoinCallback) (void *cls,
334 const struct GNUNET_CRYPTO_EccPublicSignKey 334 const struct GNUNET_CRYPTO_EddsaPublicKey
335 *slave_key, 335 *slave_key,
336 const char *method_name, 336 const char *method_name,
337 size_t variable_count, 337 size_t variable_count,
@@ -421,7 +421,7 @@ typedef void
421 */ 421 */
422struct GNUNET_PSYC_Master * 422struct GNUNET_PSYC_Master *
423GNUNET_PSYC_master_start (const struct GNUNET_CONFIGURATION_Handle *cfg, 423GNUNET_PSYC_master_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
424 const struct GNUNET_CRYPTO_EccPrivateKey *channel_key, 424 const struct GNUNET_CRYPTO_EddsaPrivateKey *channel_key,
425 enum GNUNET_PSYC_Policy policy, 425 enum GNUNET_PSYC_Policy policy,
426 GNUNET_PSYC_Method method, 426 GNUNET_PSYC_Method method,
427 GNUNET_PSYC_JoinCallback join_cb, 427 GNUNET_PSYC_JoinCallback join_cb,
@@ -579,8 +579,8 @@ typedef void
579 */ 579 */
580struct GNUNET_PSYC_Slave * 580struct GNUNET_PSYC_Slave *
581GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg, 581GNUNET_PSYC_slave_join (const struct GNUNET_CONFIGURATION_Handle *cfg,
582 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 582 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
583 const struct GNUNET_CRYPTO_EccPrivateKey *slave_key, 583 const struct GNUNET_CRYPTO_EddsaPrivateKey *slave_key,
584 const struct GNUNET_PeerIdentity *origin, 584 const struct GNUNET_PeerIdentity *origin,
585 size_t relay_count, 585 size_t relay_count,
586 const struct GNUNET_PeerIdentity *relays, 586 const struct GNUNET_PeerIdentity *relays,
@@ -732,7 +732,7 @@ GNUNET_PSYC_slave_get_channel (struct GNUNET_PSYC_Slave *slave);
732 */ 732 */
733void 733void
734GNUNET_PSYC_channel_slave_add (struct GNUNET_PSYC_Channel *channel, 734GNUNET_PSYC_channel_slave_add (struct GNUNET_PSYC_Channel *channel,
735 const struct GNUNET_CRYPTO_EccPublicSignKey 735 const struct GNUNET_CRYPTO_EddsaPublicKey
736 *slave_key, 736 *slave_key,
737 uint64_t announced_at, 737 uint64_t announced_at,
738 uint64_t effective_since); 738 uint64_t effective_since);
@@ -761,7 +761,7 @@ GNUNET_PSYC_channel_slave_add (struct GNUNET_PSYC_Channel *channel,
761 */ 761 */
762void 762void
763GNUNET_PSYC_channel_slave_remove (struct GNUNET_PSYC_Channel *channel, 763GNUNET_PSYC_channel_slave_remove (struct GNUNET_PSYC_Channel *channel,
764 const struct GNUNET_CRYPTO_EccPublicSignKey 764 const struct GNUNET_CRYPTO_EddsaPublicKey
765 *slave_key, 765 *slave_key,
766 uint64_t announced_at); 766 uint64_t announced_at);
767 767