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_hello_lib.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_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index b60353ee7..583a33f7d 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -199,8 +199,7 @@ typedef size_t (*GNUNET_HELLO_GenerateAddressListCallback) (void *cls, | |||
199 | * @return the hello message | 199 | * @return the hello message |
200 | */ | 200 | */ |
201 | struct GNUNET_HELLO_Message * | 201 | struct GNUNET_HELLO_Message * |
202 | GNUNET_HELLO_create (const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded | 202 | GNUNET_HELLO_create (const struct GNUNET_CRYPTO_EccPublicKey *publicKey, |
203 | *publicKey, | ||
204 | GNUNET_HELLO_GenerateAddressListCallback addrgen, | 203 | GNUNET_HELLO_GenerateAddressListCallback addrgen, |
205 | void *addrgen_cls, | 204 | void *addrgen_cls, |
206 | int friend_only); | 205 | int friend_only); |
@@ -327,8 +326,7 @@ GNUNET_HELLO_iterate_new_addresses (const struct GNUNET_HELLO_Message | |||
327 | */ | 326 | */ |
328 | int | 327 | int |
329 | GNUNET_HELLO_get_key (const struct GNUNET_HELLO_Message *hello, | 328 | GNUNET_HELLO_get_key (const struct GNUNET_HELLO_Message *hello, |
330 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded | 329 | struct GNUNET_CRYPTO_EccPublicKey *publicKey); |
331 | *publicKey); | ||
332 | 330 | ||
333 | 331 | ||
334 | /** | 332 | /** |
@@ -381,7 +379,7 @@ GNUNET_HELLO_compose_uri (const struct GNUNET_HELLO_Message *hello, | |||
381 | */ | 379 | */ |
382 | int | 380 | int |
383 | GNUNET_HELLO_parse_uri (const char *uri, | 381 | GNUNET_HELLO_parse_uri (const char *uri, |
384 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *pubkey, | 382 | struct GNUNET_CRYPTO_EccPublicKey *pubkey, |
385 | struct GNUNET_HELLO_Message **hello, | 383 | struct GNUNET_HELLO_Message **hello, |
386 | GNUNET_HELLO_TransportPluginsFind plugins_find); | 384 | GNUNET_HELLO_TransportPluginsFind plugins_find); |
387 | 385 | ||