diff options
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 4267e2044..38083ed9c 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -243,12 +243,12 @@ struct GNUNET_NAMESTORE_RecordData | |||
243 | */ | 243 | */ |
244 | struct GNUNET_NAMESTORE_QueueEntry * | 244 | struct GNUNET_NAMESTORE_QueueEntry * |
245 | GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h, | 245 | GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h, |
246 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key, | 246 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, |
247 | const char *name, | 247 | const char *name, |
248 | struct GNUNET_TIME_Absolute freshness, | 248 | struct GNUNET_TIME_Absolute freshness, |
249 | unsigned int rd_count, | 249 | unsigned int rd_count, |
250 | const struct GNUNET_NAMESTORE_RecordData *rd, | 250 | const struct GNUNET_NAMESTORE_RecordData *rd, |
251 | const struct GNUNET_CRYPTO_RsaSignature *signature, | 251 | const struct GNUNET_CRYPTO_EccSignature *signature, |
252 | GNUNET_NAMESTORE_ContinuationWithStatus cont, | 252 | GNUNET_NAMESTORE_ContinuationWithStatus cont, |
253 | void *cont_cls); | 253 | void *cont_cls); |
254 | 254 | ||
@@ -266,12 +266,12 @@ GNUNET_NAMESTORE_record_put (struct GNUNET_NAMESTORE_Handle *h, | |||
266 | * @return GNUNET_OK if the signature is valid | 266 | * @return GNUNET_OK if the signature is valid |
267 | */ | 267 | */ |
268 | int | 268 | int |
269 | GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *public_key, | 269 | GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *public_key, |
270 | const struct GNUNET_TIME_Absolute freshness, | 270 | const struct GNUNET_TIME_Absolute freshness, |
271 | const char *name, | 271 | const char *name, |
272 | unsigned int rd_count, | 272 | unsigned int rd_count, |
273 | const struct GNUNET_NAMESTORE_RecordData *rd, | 273 | const struct GNUNET_NAMESTORE_RecordData *rd, |
274 | const struct GNUNET_CRYPTO_RsaSignature *signature); | 274 | const struct GNUNET_CRYPTO_EccSignature *signature); |
275 | 275 | ||
276 | 276 | ||
277 | /** | 277 | /** |
@@ -290,7 +290,7 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary | |||
290 | */ | 290 | */ |
291 | struct GNUNET_NAMESTORE_QueueEntry * | 291 | struct GNUNET_NAMESTORE_QueueEntry * |
292 | GNUNET_NAMESTORE_record_create (struct GNUNET_NAMESTORE_Handle *h, | 292 | GNUNET_NAMESTORE_record_create (struct GNUNET_NAMESTORE_Handle *h, |
293 | const struct GNUNET_CRYPTO_RsaPrivateKey *pkey, | 293 | const struct GNUNET_CRYPTO_EccPrivateKey *pkey, |
294 | const char *name, | 294 | const char *name, |
295 | const struct GNUNET_NAMESTORE_RecordData *rd, | 295 | const struct GNUNET_NAMESTORE_RecordData *rd, |
296 | GNUNET_NAMESTORE_ContinuationWithStatus cont, | 296 | GNUNET_NAMESTORE_ContinuationWithStatus cont, |
@@ -314,7 +314,7 @@ GNUNET_NAMESTORE_record_create (struct GNUNET_NAMESTORE_Handle *h, | |||
314 | */ | 314 | */ |
315 | struct GNUNET_NAMESTORE_QueueEntry * | 315 | struct GNUNET_NAMESTORE_QueueEntry * |
316 | GNUNET_NAMESTORE_record_remove (struct GNUNET_NAMESTORE_Handle *h, | 316 | GNUNET_NAMESTORE_record_remove (struct GNUNET_NAMESTORE_Handle *h, |
317 | const struct GNUNET_CRYPTO_RsaPrivateKey *pkey, | 317 | const struct GNUNET_CRYPTO_EccPrivateKey *pkey, |
318 | const char *name, | 318 | const char *name, |
319 | const struct GNUNET_NAMESTORE_RecordData *rd, | 319 | const struct GNUNET_NAMESTORE_RecordData *rd, |
320 | GNUNET_NAMESTORE_ContinuationWithStatus cont, | 320 | GNUNET_NAMESTORE_ContinuationWithStatus cont, |
@@ -338,12 +338,12 @@ GNUNET_NAMESTORE_record_remove (struct GNUNET_NAMESTORE_Handle *h, | |||
338 | * because the user queried for a particular record type only) | 338 | * because the user queried for a particular record type only) |
339 | */ | 339 | */ |
340 | typedef void (*GNUNET_NAMESTORE_RecordProcessor) (void *cls, | 340 | typedef void (*GNUNET_NAMESTORE_RecordProcessor) (void *cls, |
341 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key, | 341 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, |
342 | struct GNUNET_TIME_Absolute freshness, | 342 | struct GNUNET_TIME_Absolute freshness, |
343 | const char *name, | 343 | const char *name, |
344 | unsigned int rd_len, | 344 | unsigned int rd_len, |
345 | const struct GNUNET_NAMESTORE_RecordData *rd, | 345 | const struct GNUNET_NAMESTORE_RecordData *rd, |
346 | const struct GNUNET_CRYPTO_RsaSignature *signature); | 346 | const struct GNUNET_CRYPTO_EccSignature *signature); |
347 | 347 | ||
348 | 348 | ||
349 | /** | 349 | /** |