diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-20 01:41:41 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-20 01:41:41 +0200 |
commit | 8ffae340b6cbb0c0aaeaa101363bb00858ed8a28 (patch) | |
tree | 9c2a06ba1a34f4a97a778b6b91d6c54414d0afdd /internals.h | |
parent | 0ebfb634f6b40ce78e7898793185412b51d88cd8 (diff) |
add bid encryption
Diffstat (limited to 'internals.h')
-rw-r--r-- | internals.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internals.h b/internals.h index f705c6d..06ec88c 100644 --- a/internals.h +++ b/internals.h @@ -28,13 +28,12 @@ struct AuctionData { uint16_t n; /** The amount of bidders/agents */ uint16_t k; /** The amount of possible prices */ uint16_t i; /** Own agents index, only used when bidding */ + uint16_t b; /** Own bid */ gcry_mpi_t x; /** Own private additive key share */ gcry_mpi_point_t *y; /** public multiplicative key shares, size: n */ gcry_mpi_point_t Y; /** Shared public key */ - gcry_mpi_point_t *b; /** Own bid, size: k */ - gcry_mpi_point_t **alpha; /** alphas, size: n*k */ gcry_mpi_point_t **beta; /** betas, size: n*k */ |