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/namestore/namestore_api.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/namestore/namestore_api.c')
-rw-r--r-- | src/namestore/namestore_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index 3df6f8210..c4282ec71 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c | |||
@@ -134,7 +134,7 @@ struct GNUNET_NAMESTORE_ZoneIterator | |||
134 | /** | 134 | /** |
135 | * Private key of the zone. | 135 | * Private key of the zone. |
136 | */ | 136 | */ |
137 | struct GNUNET_CRYPTO_EccPrivateKey zone; | 137 | struct GNUNET_CRYPTO_EcdsaPrivateKey zone; |
138 | 138 | ||
139 | /** | 139 | /** |
140 | * The operation id this zone iteration operation has | 140 | * The operation id this zone iteration operation has |
@@ -592,7 +592,7 @@ handle_zone_iteration_response (struct GNUNET_NAMESTORE_ZoneIterator *ze, | |||
592 | const struct RecordResultMessage *msg, | 592 | const struct RecordResultMessage *msg, |
593 | size_t size) | 593 | size_t size) |
594 | { | 594 | { |
595 | static struct GNUNET_CRYPTO_EccPrivateKey priv_dummy; | 595 | static struct GNUNET_CRYPTO_EcdsaPrivateKey priv_dummy; |
596 | size_t msg_len; | 596 | size_t msg_len; |
597 | size_t exp_msg_len; | 597 | size_t exp_msg_len; |
598 | size_t name_len; | 598 | size_t name_len; |
@@ -1082,7 +1082,7 @@ GNUNET_NAMESTORE_block_cache (struct GNUNET_NAMESTORE_Handle *h, | |||
1082 | */ | 1082 | */ |
1083 | struct GNUNET_NAMESTORE_QueueEntry * | 1083 | struct GNUNET_NAMESTORE_QueueEntry * |
1084 | GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h, | 1084 | GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h, |
1085 | const struct GNUNET_CRYPTO_EccPrivateKey *pkey, | 1085 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *pkey, |
1086 | const char *label, | 1086 | const char *label, |
1087 | unsigned int rd_count, | 1087 | unsigned int rd_count, |
1088 | const struct GNUNET_NAMESTORE_RecordData *rd, | 1088 | const struct GNUNET_NAMESTORE_RecordData *rd, |
@@ -1212,8 +1212,8 @@ GNUNET_NAMESTORE_lookup_block (struct GNUNET_NAMESTORE_Handle *h, | |||
1212 | */ | 1212 | */ |
1213 | struct GNUNET_NAMESTORE_QueueEntry * | 1213 | struct GNUNET_NAMESTORE_QueueEntry * |
1214 | GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, | 1214 | GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, |
1215 | const struct GNUNET_CRYPTO_EccPrivateKey *zone, | 1215 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone, |
1216 | const struct GNUNET_CRYPTO_EccPublicSignKey *value_zone, | 1216 | const struct GNUNET_CRYPTO_EcdsaPublicKey *value_zone, |
1217 | GNUNET_NAMESTORE_RecordMonitor proc, void *proc_cls) | 1217 | GNUNET_NAMESTORE_RecordMonitor proc, void *proc_cls) |
1218 | { | 1218 | { |
1219 | struct GNUNET_NAMESTORE_QueueEntry *qe; | 1219 | struct GNUNET_NAMESTORE_QueueEntry *qe; |
@@ -1268,7 +1268,7 @@ GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, | |||
1268 | */ | 1268 | */ |
1269 | struct GNUNET_NAMESTORE_ZoneIterator * | 1269 | struct GNUNET_NAMESTORE_ZoneIterator * |
1270 | GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h, | 1270 | GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h, |
1271 | const struct GNUNET_CRYPTO_EccPrivateKey *zone, | 1271 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone, |
1272 | GNUNET_NAMESTORE_RecordMonitor proc, | 1272 | GNUNET_NAMESTORE_RecordMonitor proc, |
1273 | void *proc_cls) | 1273 | void *proc_cls) |
1274 | { | 1274 | { |