diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-12-02 12:53:54 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-12-02 12:53:54 +0100 |
commit | e66cbbe44f3708e6d6a30b216035bcccfc8e7207 (patch) | |
tree | 5329f963c2eee3af18976862cdfdf9e344dfd109 /internals.h | |
parent | 64689a9083fd11a1e482cc86c0417183cdc76ece (diff) |
move ecdlogctx passing to _join()/_new() functions
Diffstat (limited to 'internals.h')
-rw-r--r-- | internals.h | 12 |
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 */ |