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/mesh/gnunet-service-mesh_tunnel.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/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index 88a04eea6..b077d00b2 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -70,17 +70,17 @@ struct MeshTunnel3 | |||
70 | /** | 70 | /** |
71 | * Local peer ephemeral private key | 71 | * Local peer ephemeral private key |
72 | */ | 72 | */ |
73 | struct GNUNET_CRYPTO_EccPrivateKey *my_eph_key; | 73 | struct GNUNET_CRYPTO_EddsaPrivateKey *my_eph_key; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * Local peer ephemeral public key | 76 | * Local peer ephemeral public key |
77 | */ | 77 | */ |
78 | struct GNUNET_CRYPTO_EccPublicSignKey *my_eph; | 78 | struct GNUNET_CRYPTO_EddsaPublicKey *my_eph; |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * Remote peer's public key. | 81 | * Remote peer's public key. |
82 | */ | 82 | */ |
83 | struct GNUNET_CRYPTO_EccPublicSignKey *peers_eph; | 83 | struct GNUNET_CRYPTO_EddsaPublicKey *peers_eph; |
84 | 84 | ||
85 | /** | 85 | /** |
86 | * Encryption ("our") key. | 86 | * Encryption ("our") key. |
@@ -181,7 +181,7 @@ const static struct GNUNET_PeerIdentity *my_full_id; | |||
181 | /** | 181 | /** |
182 | * Own private key. | 182 | * Own private key. |
183 | */ | 183 | */ |
184 | const static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; | 184 | const static struct GNUNET_CRYPTO_EddsaPrivateKey *my_private_key; |
185 | 185 | ||
186 | 186 | ||
187 | /******************************************************************************/ | 187 | /******************************************************************************/ |
@@ -548,7 +548,7 @@ GMT_send_queued_data (struct MeshTunnel3 *t, int fwd) | |||
548 | void | 548 | void |
549 | GMT_init (const struct GNUNET_CONFIGURATION_Handle *c, | 549 | GMT_init (const struct GNUNET_CONFIGURATION_Handle *c, |
550 | const struct GNUNET_PeerIdentity *id, | 550 | const struct GNUNET_PeerIdentity *id, |
551 | const struct GNUNET_CRYPTO_EccPrivateKey *key) | 551 | const struct GNUNET_CRYPTO_EddsaPrivateKey *key) |
552 | { | 552 | { |
553 | if (GNUNET_OK != | 553 | if (GNUNET_OK != |
554 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "DEFAULT_TTL", | 554 | GNUNET_CONFIGURATION_get_value_number (c, "MESH", "DEFAULT_TTL", |