union
This commit is contained in:
parent
f9394ba742
commit
20714489cf
19
internals.h
19
internals.h
@ -147,18 +147,25 @@ struct BRANDT_Auction {
|
|||||||
gcry_mpi_point_t **alpha; /** alphas, size: n*k */
|
gcry_mpi_point_t **alpha; /** alphas, size: n*k */
|
||||||
gcry_mpi_point_t **beta; /** betas, size: n*k */
|
gcry_mpi_point_t **beta; /** betas, size: n*k */
|
||||||
|
|
||||||
gcry_mpi_point_t **gamma2; /** gamma2, for public outcome, size: n*k */
|
union {
|
||||||
gcry_mpi_point_t ***gamma3; /** gamma3, for private outcome, size: n*n*k */
|
|
||||||
gcry_mpi_point_t **delta2; /** delta2, for public outcome, size: n*k */
|
|
||||||
gcry_mpi_point_t ***delta3; /** delta3, for private outcome, size: n*n*k */
|
|
||||||
gcry_mpi_point_t **phi2; /** phi2, for public outcome, size: n*k */
|
|
||||||
gcry_mpi_point_t ***phi3; /** phi3, for private outcome, size: n*n*k */
|
|
||||||
|
|
||||||
|
struct {
|
||||||
|
gcry_mpi_point_t **gamma2; /** gamma2, for public outcome, size: n*k */
|
||||||
|
gcry_mpi_point_t **delta2; /** delta2, for public outcome, size: n*k */
|
||||||
|
gcry_mpi_point_t **phi2; /** phi2, for public outcome, size: n*k */
|
||||||
/** proofs for the correctnes of the phi values, size: n*k */
|
/** proofs for the correctnes of the phi values, size: n*k */
|
||||||
struct proof_2dle ***phiproofs2;
|
struct proof_2dle ***phiproofs2;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct {
|
||||||
|
gcry_mpi_point_t ***gamma3; /** gamma3, for private outcome, size: n*n*k */
|
||||||
|
gcry_mpi_point_t ***delta3; /** delta3, for private outcome, size: n*n*k */
|
||||||
|
gcry_mpi_point_t ***phi3; /** phi3, for private outcome, size: n*n*k */
|
||||||
|
|
||||||
/** proofs for the correctnes of the phi values, size: n*n*k */
|
/** proofs for the correctnes of the phi values, size: n*n*k */
|
||||||
struct proof_2dle ***phiproofs3;
|
struct proof_2dle ***phiproofs3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gcry_mpi_point_t *tmpa1; /** used for temporary storage, size: k */
|
gcry_mpi_point_t *tmpa1; /** used for temporary storage, size: k */
|
||||||
gcry_mpi_point_t *tmpb1; /** used for temporary storage, size: k */
|
gcry_mpi_point_t *tmpb1; /** used for temporary storage, size: k */
|
||||||
|
Loading…
Reference in New Issue
Block a user