aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_uri.c
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/fs/test_fs_uri.c
parent8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff)
downloadgnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz
gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/fs/test_fs_uri.c')
-rw-r--r--src/fs/test_fs_uri.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/test_fs_uri.c b/src/fs/test_fs_uri.c
index 1e1bd8fb8..2fc5b2a2d 100644
--- a/src/fs/test_fs_uri.c
+++ b/src/fs/test_fs_uri.c
@@ -163,8 +163,8 @@ testNamespace (int i)
163 char *uri; 163 char *uri;
164 struct GNUNET_FS_Uri *ret; 164 struct GNUNET_FS_Uri *ret;
165 char *emsg; 165 char *emsg;
166 struct GNUNET_CRYPTO_EccPrivateKey *ph; 166 struct GNUNET_CRYPTO_EcdsaPrivateKey *ph;
167 struct GNUNET_CRYPTO_EccPublicSignKey id; 167 struct GNUNET_CRYPTO_EcdsaPublicKey id;
168 char buf[1024]; 168 char buf[1024];
169 char ubuf[1024]; 169 char ubuf[1024];
170 char *sret; 170 char *sret;
@@ -193,8 +193,8 @@ testNamespace (int i)
193 GNUNET_assert (0); 193 GNUNET_assert (0);
194 } 194 }
195 GNUNET_free (emsg); 195 GNUNET_free (emsg);
196 ph = GNUNET_CRYPTO_ecc_key_create (); 196 ph = GNUNET_CRYPTO_ecdsa_key_create ();
197 GNUNET_CRYPTO_ecc_key_get_public_for_signature (ph, &id); 197 GNUNET_CRYPTO_ecdsa_key_get_public (ph, &id);
198 sret = GNUNET_STRINGS_data_to_string (&id, sizeof (id), 198 sret = GNUNET_STRINGS_data_to_string (&id, sizeof (id),
199 ubuf, sizeof (ubuf) - 1); 199 ubuf, sizeof (ubuf) - 1);
200 GNUNET_assert (NULL != sret); 200 GNUNET_assert (NULL != sret);