aboutsummaryrefslogtreecommitdiff
path: root/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'internals.h')
-rw-r--r--internals.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/internals.h b/internals.h
index 8a82e2e..8e97e8a 100644
--- a/internals.h
+++ b/internals.h
@@ -146,12 +146,14 @@ struct BRANDT_Auction {
gcry_mpi_point_t *tmpa1; /** used for temporary storage, size: k */
gcry_mpi_point_t *tmpb1; /** used for temporary storage, size: k */
+
+ /** only needed in M+1st price auctions to determine winners */
+ struct GNUNET_CRYPTO_EccDlogContext *dlogctx;
};
-extern gcry_ctx_t ec_ctx;
-extern gcry_mpi_point_t ec_gen;
-extern gcry_mpi_point_t ec_zero;
-extern gcry_mpi_t ec_n;
-extern struct GNUNET_CRYPTO_EccDlogContext *ec_dlogctx;
+extern gcry_ctx_t ec_ctx;
+extern gcry_mpi_point_t ec_gen;
+extern gcry_mpi_point_t ec_zero;
+extern gcry_mpi_t ec_n;
#endif /* ifndef _BRANDT_INTERNALS_H */