diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-10 14:38:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-10 14:38:55 +0000 |
commit | 9351b1e9bdf2b067b6db06562c26ba658cff42b8 (patch) | |
tree | 68dc4ab447e7e8b6a20a706858cd36238c1c7c5f /src/regex/gnunet-daemon-regexprofiler.c | |
parent | 8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff) | |
download | gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip |
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/regex/gnunet-daemon-regexprofiler.c')
-rw-r--r-- | src/regex/gnunet-daemon-regexprofiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/gnunet-daemon-regexprofiler.c b/src/regex/gnunet-daemon-regexprofiler.c index bcb99aaf5..3efd769f1 100644 --- a/src/regex/gnunet-daemon-regexprofiler.c +++ b/src/regex/gnunet-daemon-regexprofiler.c | |||
@@ -98,7 +98,7 @@ static unsigned int rounds = 3; | |||
98 | /** | 98 | /** |
99 | * Private key for this peer. | 99 | * Private key for this peer. |
100 | */ | 100 | */ |
101 | static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; | 101 | static struct GNUNET_CRYPTO_EddsaPrivateKey *my_private_key; |
102 | 102 | ||
103 | 103 | ||
104 | 104 | ||
@@ -258,7 +258,7 @@ run (void *cls, char *const *args GNUNET_UNUSED, | |||
258 | 258 | ||
259 | cfg = cfg_; | 259 | cfg = cfg_; |
260 | 260 | ||
261 | my_private_key = GNUNET_CRYPTO_ecc_key_create_from_configuration (cfg); | 261 | my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_configuration (cfg); |
262 | GNUNET_assert (NULL != my_private_key); | 262 | GNUNET_assert (NULL != my_private_key); |
263 | if (GNUNET_OK != | 263 | if (GNUNET_OK != |
264 | GNUNET_CONFIGURATION_get_value_number (cfg, "REGEXPROFILER", | 264 | GNUNET_CONFIGURATION_get_value_number (cfg, "REGEXPROFILER", |