aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psycstore_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_psycstore_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_psycstore_service.h')
-rw-r--r--src/include/gnunet_psycstore_service.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h
index 25d4339a3..5f4a32b7b 100644
--- a/src/include/gnunet_psycstore_service.h
+++ b/src/include/gnunet_psycstore_service.h
@@ -133,8 +133,8 @@ typedef void
133 */ 133 */
134struct GNUNET_PSYCSTORE_OperationHandle * 134struct GNUNET_PSYCSTORE_OperationHandle *
135GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h, 135GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
136 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 136 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
137 const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, 137 const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key,
138 int did_join, 138 int did_join,
139 uint64_t announced_at, 139 uint64_t announced_at,
140 uint64_t effective_since, 140 uint64_t effective_since,
@@ -165,8 +165,8 @@ GNUNET_PSYCSTORE_membership_store (struct GNUNET_PSYCSTORE_Handle *h,
165 */ 165 */
166struct GNUNET_PSYCSTORE_OperationHandle * 166struct GNUNET_PSYCSTORE_OperationHandle *
167GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h, 167GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
168 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 168 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
169 const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, 169 const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key,
170 uint64_t message_id, 170 uint64_t message_id,
171 uint64_t group_generation, 171 uint64_t group_generation,
172 GNUNET_PSYCSTORE_ResultCallback rcb, 172 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -188,7 +188,7 @@ GNUNET_PSYCSTORE_membership_test (struct GNUNET_PSYCSTORE_Handle *h,
188 */ 188 */
189struct GNUNET_PSYCSTORE_OperationHandle * 189struct GNUNET_PSYCSTORE_OperationHandle *
190GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h, 190GNUNET_PSYCSTORE_fragment_store (struct GNUNET_PSYCSTORE_Handle *h,
191 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 191 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
192 const struct GNUNET_MULTICAST_MessageHeader *message, 192 const struct GNUNET_MULTICAST_MessageHeader *message,
193 uint32_t psycstore_flags, 193 uint32_t psycstore_flags,
194 GNUNET_PSYCSTORE_ResultCallback rcb, 194 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -227,7 +227,7 @@ typedef int
227 */ 227 */
228struct GNUNET_PSYCSTORE_OperationHandle * 228struct GNUNET_PSYCSTORE_OperationHandle *
229GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h, 229GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h,
230 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 230 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
231 uint64_t fragment_id, 231 uint64_t fragment_id,
232 GNUNET_PSYCSTORE_FragmentCallback fcb, 232 GNUNET_PSYCSTORE_FragmentCallback fcb,
233 GNUNET_PSYCSTORE_ResultCallback rcb, 233 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -248,7 +248,7 @@ GNUNET_PSYCSTORE_fragment_get (struct GNUNET_PSYCSTORE_Handle *h,
248 */ 248 */
249struct GNUNET_PSYCSTORE_OperationHandle * 249struct GNUNET_PSYCSTORE_OperationHandle *
250GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h, 250GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h,
251 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 251 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
252 uint64_t message_id, 252 uint64_t message_id,
253 GNUNET_PSYCSTORE_FragmentCallback fcb, 253 GNUNET_PSYCSTORE_FragmentCallback fcb,
254 GNUNET_PSYCSTORE_ResultCallback rcb, 254 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -271,7 +271,7 @@ GNUNET_PSYCSTORE_message_get (struct GNUNET_PSYCSTORE_Handle *h,
271 */ 271 */
272struct GNUNET_PSYCSTORE_OperationHandle * 272struct GNUNET_PSYCSTORE_OperationHandle *
273GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h, 273GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h,
274 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 274 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
275 uint64_t message_id, 275 uint64_t message_id,
276 uint64_t fragment_offset, 276 uint64_t fragment_offset,
277 GNUNET_PSYCSTORE_FragmentCallback fcb, 277 GNUNET_PSYCSTORE_FragmentCallback fcb,
@@ -316,7 +316,7 @@ typedef void
316 */ 316 */
317struct GNUNET_PSYCSTORE_OperationHandle * 317struct GNUNET_PSYCSTORE_OperationHandle *
318GNUNET_PSYCSTORE_counters_get (struct GNUNET_PSYCSTORE_Handle *h, 318GNUNET_PSYCSTORE_counters_get (struct GNUNET_PSYCSTORE_Handle *h,
319 struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 319 struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
320 GNUNET_PSYCSTORE_CountersCallback ccb, 320 GNUNET_PSYCSTORE_CountersCallback ccb,
321 void *ccb_cls); 321 void *ccb_cls);
322 322
@@ -340,7 +340,7 @@ GNUNET_PSYCSTORE_counters_get (struct GNUNET_PSYCSTORE_Handle *h,
340 */ 340 */
341struct GNUNET_PSYCSTORE_OperationHandle * 341struct GNUNET_PSYCSTORE_OperationHandle *
342GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h, 342GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h,
343 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 343 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
344 uint64_t message_id, 344 uint64_t message_id,
345 uint64_t state_delta, 345 uint64_t state_delta,
346 size_t modifier_count, 346 size_t modifier_count,
@@ -364,7 +364,7 @@ GNUNET_PSYCSTORE_state_modify (struct GNUNET_PSYCSTORE_Handle *h,
364 */ 364 */
365struct GNUNET_PSYCSTORE_OperationHandle * 365struct GNUNET_PSYCSTORE_OperationHandle *
366GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h, 366GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h,
367 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 367 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
368 uint64_t message_id, 368 uint64_t message_id,
369 size_t modifier_count, 369 size_t modifier_count,
370 const struct GNUNET_ENV_Modifier *modifiers, 370 const struct GNUNET_ENV_Modifier *modifiers,
@@ -387,7 +387,7 @@ GNUNET_PSYCSTORE_state_sync (struct GNUNET_PSYCSTORE_Handle *h,
387 */ 387 */
388struct GNUNET_PSYCSTORE_OperationHandle * 388struct GNUNET_PSYCSTORE_OperationHandle *
389GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h, 389GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h,
390 const struct GNUNET_CRYPTO_EccPublicSignKey 390 const struct GNUNET_CRYPTO_EddsaPublicKey
391 *channel_key, 391 *channel_key,
392 GNUNET_PSYCSTORE_ResultCallback rcb, 392 GNUNET_PSYCSTORE_ResultCallback rcb,
393 void *rcb_cls); 393 void *rcb_cls);
@@ -406,7 +406,7 @@ GNUNET_PSYCSTORE_state_reset (struct GNUNET_PSYCSTORE_Handle *h,
406 */ 406 */
407struct GNUNET_PSYCSTORE_OperationHandle * 407struct GNUNET_PSYCSTORE_OperationHandle *
408GNUNET_PSYCSTORE_state_hash_update (struct GNUNET_PSYCSTORE_Handle *h, 408GNUNET_PSYCSTORE_state_hash_update (struct GNUNET_PSYCSTORE_Handle *h,
409 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 409 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
410 uint64_t message_id, 410 uint64_t message_id,
411 const struct GNUNET_HashCode *hash, 411 const struct GNUNET_HashCode *hash,
412 GNUNET_PSYCSTORE_ResultCallback rcb, 412 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -444,7 +444,7 @@ typedef int
444 */ 444 */
445struct GNUNET_PSYCSTORE_OperationHandle * 445struct GNUNET_PSYCSTORE_OperationHandle *
446GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h, 446GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h,
447 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 447 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
448 const char *name, 448 const char *name,
449 GNUNET_PSYCSTORE_StateCallback scb, 449 GNUNET_PSYCSTORE_StateCallback scb,
450 GNUNET_PSYCSTORE_ResultCallback rcb, 450 GNUNET_PSYCSTORE_ResultCallback rcb,
@@ -465,7 +465,7 @@ GNUNET_PSYCSTORE_state_get (struct GNUNET_PSYCSTORE_Handle *h,
465 */ 465 */
466struct GNUNET_PSYCSTORE_OperationHandle * 466struct GNUNET_PSYCSTORE_OperationHandle *
467GNUNET_PSYCSTORE_state_get_prefix (struct GNUNET_PSYCSTORE_Handle *h, 467GNUNET_PSYCSTORE_state_get_prefix (struct GNUNET_PSYCSTORE_Handle *h,
468 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 468 const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key,
469 const char *name_prefix, 469 const char *name_prefix,
470 GNUNET_PSYCSTORE_StateCallback scb, 470 GNUNET_PSYCSTORE_StateCallback scb,
471 GNUNET_PSYCSTORE_ResultCallback rcb, 471 GNUNET_PSYCSTORE_ResultCallback rcb,