diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-06 14:18:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-06 14:18:31 +0000 |
commit | fe76c075e315c0351e2fe465434ae39087daf014 (patch) | |
tree | 436887ccaf331932a3c13a8b9d2a2a710dad4be6 /src/include/gnunet_namestore_service.h | |
parent | 7eb2835d8a494c83aedb720a2ac6f6e5ba23f22f (diff) | |
download | gnunet-fe76c075e315c0351e2fe465434ae39087daf014.tar.gz gnunet-fe76c075e315c0351e2fe465434ae39087daf014.zip |
moving to new, fixed-size encoding of public and private ECC keys everywhere, also improving ECC API to better support ECRS/GADS operations
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 700122507..77da67312 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -247,7 +247,7 @@ struct GNUNET_NAMESTORE_RecordData | |||
247 | */ | 247 | */ |
248 | struct GNUNET_NAMESTORE_QueueEntry * | 248 | struct GNUNET_NAMESTORE_QueueEntry * |
249 | GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h, | 249 | GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h, |
250 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, | 250 | const struct GNUNET_CRYPTO_EccPublicKey *zone_key, |
251 | const char *name, | 251 | const char *name, |
252 | struct GNUNET_TIME_Absolute freshness, | 252 | struct GNUNET_TIME_Absolute freshness, |
253 | unsigned int rd_count, | 253 | unsigned int rd_count, |
@@ -270,7 +270,7 @@ GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h, | |||
270 | * @return GNUNET_OK if the signature is valid | 270 | * @return GNUNET_OK if the signature is valid |
271 | */ | 271 | */ |
272 | int | 272 | int |
273 | GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *public_key, | 273 | GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_EccPublicKey *public_key, |
274 | const struct GNUNET_TIME_Absolute freshness, | 274 | const struct GNUNET_TIME_Absolute freshness, |
275 | const char *name, | 275 | const char *name, |
276 | unsigned int rd_count, | 276 | unsigned int rd_count, |
@@ -319,7 +319,7 @@ GNUNET_NAMESTORE_record_put_by_authority (struct GNUNET_NAMESTORE_Handle *h, | |||
319 | * because the user queried for a particular record type only) | 319 | * because the user queried for a particular record type only) |
320 | */ | 320 | */ |
321 | typedef void (*GNUNET_NAMESTORE_RecordProcessor) (void *cls, | 321 | typedef void (*GNUNET_NAMESTORE_RecordProcessor) (void *cls, |
322 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, | 322 | const struct GNUNET_CRYPTO_EccPublicKey *zone_key, |
323 | struct GNUNET_TIME_Absolute freshness, | 323 | struct GNUNET_TIME_Absolute freshness, |
324 | const char *name, | 324 | const char *name, |
325 | unsigned int rd_count, | 325 | unsigned int rd_count, |
@@ -480,7 +480,7 @@ struct GNUNET_NAMESTORE_ZoneMonitor; | |||
480 | * @param signature signature of the record block | 480 | * @param signature signature of the record block |
481 | */ | 481 | */ |
482 | typedef void (*GNUNET_NAMESTORE_RecordMonitor)(void *cls, | 482 | typedef void (*GNUNET_NAMESTORE_RecordMonitor)(void *cls, |
483 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, | 483 | const struct GNUNET_CRYPTO_EccPublicKey *zone_key, |
484 | struct GNUNET_TIME_Absolute freshness, | 484 | struct GNUNET_TIME_Absolute freshness, |
485 | const char *name, | 485 | const char *name, |
486 | unsigned int rd_len, | 486 | unsigned int rd_len, |