diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-02-05 20:49:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-02-05 20:49:21 +0000 |
commit | ca35f67faee8371fa763bdf49f04a8d5d4cdc021 (patch) | |
tree | 5535df5e5a2428ed838c6a0e60b2c6c68a7842c5 /src/include/gnunet_hello_lib.h | |
parent | dd7cca21c5dbaef4d56f92bab3932f0f73d092d1 (diff) | |
download | gnunet-ca35f67faee8371fa763bdf49f04a8d5d4cdc021.tar.gz gnunet-ca35f67faee8371fa763bdf49f04a8d5d4cdc021.zip |
switching to ECDHE cryptography f, implementation is incomplete and INSECURE, do not use for anything but testing
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index 7be30cf8f..867ff686d 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -183,7 +183,7 @@ typedef size_t (*GNUNET_HELLO_GenerateAddressListCallback) (void *cls, | |||
183 | * @return the hello message | 183 | * @return the hello message |
184 | */ | 184 | */ |
185 | struct GNUNET_HELLO_Message * | 185 | struct GNUNET_HELLO_Message * |
186 | GNUNET_HELLO_create (const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded | 186 | GNUNET_HELLO_create (const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded |
187 | *publicKey, | 187 | *publicKey, |
188 | GNUNET_HELLO_GenerateAddressListCallback addrgen, | 188 | GNUNET_HELLO_GenerateAddressListCallback addrgen, |
189 | void *addrgen_cls); | 189 | void *addrgen_cls); |
@@ -310,7 +310,7 @@ GNUNET_HELLO_iterate_new_addresses (const struct GNUNET_HELLO_Message | |||
310 | */ | 310 | */ |
311 | int | 311 | int |
312 | GNUNET_HELLO_get_key (const struct GNUNET_HELLO_Message *hello, | 312 | GNUNET_HELLO_get_key (const struct GNUNET_HELLO_Message *hello, |
313 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded | 313 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded |
314 | *publicKey); | 314 | *publicKey); |
315 | 315 | ||
316 | 316 | ||
@@ -364,7 +364,7 @@ GNUNET_HELLO_compose_uri (const struct GNUNET_HELLO_Message *hello, | |||
364 | */ | 364 | */ |
365 | int | 365 | int |
366 | GNUNET_HELLO_parse_uri (const char *uri, | 366 | GNUNET_HELLO_parse_uri (const char *uri, |
367 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *pubkey, | 367 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *pubkey, |
368 | struct GNUNET_HELLO_Message **hello, | 368 | struct GNUNET_HELLO_Message **hello, |
369 | GNUNET_HELLO_TransportPluginsFind plugins_find); | 369 | GNUNET_HELLO_TransportPluginsFind plugins_find); |
370 | 370 | ||