aboutsummaryrefslogtreecommitdiff
path: root/libcmix/cmix.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix/cmix.h')
-rw-r--r--libcmix/cmix.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libcmix/cmix.h b/libcmix/cmix.h
index 563fc02..f060762 100644
--- a/libcmix/cmix.h
+++ b/libcmix/cmix.h
@@ -45,12 +45,13 @@ struct CMixContext {
struct Api api; ///< The crypto api in use.
struct KeyPair keypair; ///< The keypair used in the crypto api.
GroupElement network_key; ///< The network key (called d in the paper).
+ size_t nr_mixes; ///< The amount of mixes to do simultanuous
size_t nr_participants; ///< The number of mix participants.
- GroupElement* r; ///< An array of random values (R in the paper).
- GroupElement* s; ///< An array of random values (S in the paper).
- unsigned int* permutation; ///< a permutation (Pi in the paper (called Pi in source)).
- GroupElement* decryption_shares; ///< The decryption share for each slot.
- GroupElement* EPiRS; ///< stores teh current Pi(R) * S for this node. Only usfull for the last node.
+ GroupElement** r; ///< An array of random values (R in the paper).
+ GroupElement** s; ///< An array of random values (S in the paper).
+ unsigned int** permutation; ///< a permutation (Pi in the paper (called Pi in source)).
+ GroupElement** decryption_shares; ///< The decryption share for each slot.
+ GroupElement** EPiRS; ///< stores the current Pi(R) * S for this node. Only usfull for the last node.
GroupElement* PiMRS; ///< stores the current Pi(M * R) * S for this node. Only usefull for the last node.
};