aboutsummaryrefslogtreecommitdiff
path: root/src/topology
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/topology
parent8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff)
downloadgnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz
gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/friends.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/topology/friends.c b/src/topology/friends.c
index 5c074e941..d41ff1ec6 100644
--- a/src/topology/friends.c
+++ b/src/topology/friends.c
@@ -92,7 +92,7 @@ GNUNET_FRIENDS_parse (const struct GNUNET_CONFIGURATION_Handle *cfg,
92 while ((pos < fsize) && (! isspace ((int) data[pos]))) 92 while ((pos < fsize) && (! isspace ((int) data[pos])))
93 pos++; 93 pos++;
94 if (GNUNET_OK != 94 if (GNUNET_OK !=
95 GNUNET_CRYPTO_ecc_public_sign_key_from_string (&data[start], 95 GNUNET_CRYPTO_eddsa_public_key_from_string (&data[start],
96 pos - start, 96 pos - start,
97 &pid.public_key)) 97 &pid.public_key))
98 { 98 {
@@ -196,7 +196,7 @@ GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w,
196 char *ret; 196 char *ret;
197 size_t slen; 197 size_t slen;
198 198
199 ret = GNUNET_CRYPTO_ecc_public_sign_key_to_string (&friend->public_key); 199 ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&friend->public_key);
200 GNUNET_asprintf (&buf, 200 GNUNET_asprintf (&buf,
201 "%s\n", 201 "%s\n",
202 ret); 202 ret);